View source: R/plottjGCluster.R
plottjGCluster | R Documentation |
mapping gene expression on trajectory tree
plottjGCluster(dat, gene, method="median", col.g=list(c1=c(0,1,1), c2=c(0,1,0), c3=c(1,1,0),
alpha=0.6), col.b.p, l1, l2, level1, coord, col.bg, l.n, color.spec="hsv", ...);
dat |
gene expression matrix/data.frame, column is for sample |
gene |
gene(s) should be in row names |
method |
mean or median |
col.g |
color names for gene expression |
col.b.p |
color bar position |
l1 |
level 1 branch layout (matrix/data.frame) |
l2 |
level 2 branch layout (list) |
level1 |
samples in level 1 as list |
coord |
coordinates of samples (output of tsne) |
col.bg |
background color |
l.n |
level 2 samples from smlayout2 (list) |
color.spec |
color.spec by plotrix |
... |
more options of the plot |
Ying Hu <yhu@mail.nih.gov> Chunhua Yan <yanch@mail.nih.gov>
##
##
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.