plotGCluster | R Documentation |
mapping gene expression on tsne
plotGCluster(dat, coord, gene, col.g=list(c1=c(0,1,1), c2=c(0,1,0), c3=c(1,1,0), alpha=0.6)
, col.m=rgb(0.6, 0.6, 0.6, 0.4), col.b.p=c(-20, -20, -15, -15), pch=19, cex=0.4,
color.spec="rgb", ...)
dat |
gene expression matrix/data.frame, column is for sample |
coord |
single cell coordinates from tsne |
gene |
gene(s) should be in column names |
col.g |
color names for gene expression |
col.m |
color names for gene expression, the values are zero or NA |
col.b.p |
color bar position |
pch |
from plot |
cex |
from plot |
color.spec |
from color.scale of 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.