View source: R/crestree.functions.R
Visualize branching trajectories of a particular gene.
1 2 3 | visualise.trajectory(r, gene, X, cex.cell = 0.3, cex.lab = 2,
cex.axis = 1.5, cex.main = 1, lwd.erbar = 0, lwd.t1 = 3,
lwd.t2 = 0.2, switch.point = NA, subtree = NA)
|
r |
pptree object |
gene |
gene name |
X |
matrix with a single row containing a gene expression levels (could be a vector of gene's expression). Columns of X reflect gene names. |
cex.cell |
size of cells |
cex.lab |
size of axis titles |
cex.axis |
size of axis labels |
cex.main |
size of title showing a gene name |
lwd.erbar |
width of error bars for uncertainty of cell pseudotime assignment |
lwd.t1 |
width of the main branching trajectory |
lwd.t2 |
width of ensemble trajectories, typically thiner than that of main trajectory. |
subtree |
visualise trajectory along a given subtree |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.