Skip to content

R package to Plot Waddington Epigenetic Landscape using ggridges

License

Notifications You must be signed in to change notification settings

zzwch/waddingtonplot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Waddington Epigenetic Landscape

Waddington’s epigenetic landscape is probably the most famous and most powerful metaphor in developmental biology. Cells, represented by balls, roll downhill through a landscape of bifurcating valleys. Each new valley represents a possible cell fate and the ridges between the valleys maintain the cell fate once it has been chosen. (Quoted from reference)

Plot Waddington Epigenetic Landscape using ggridges, inspired by Figure 1 in reference, which could be used to illustate lineage tree or developmental hierarchy.

vs

Install and try it

remotes::install_github("zzwch/waddingtonplot")
waddingtonplot::waddingtonPlot()

custom your graph

add external images using

require('ggplot2')
require('EBImage') # install.packages('EBImage')
waddingtonplot::waddingtonPlot(c(1,2,4,8), do.return = T) +
annotation_custom(grob = grid::rasterGrob(image = EBImage::readImage(files = "img_20180217191752.jpg")),
                    450, 550, 77, 85)

About

R package to Plot Waddington Epigenetic Landscape using ggridges

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages