ssc.plot.GeneDensity | R Documentation |
plot gene expression density
ssc.plot.GeneDensity(
obj,
out.prefix,
gene.id,
gene.symbol,
assay.name = "norm_exprs",
expT = c(0.3, 0.3),
pallete.name = "heat",
ann.txt.dis = 0.3,
ann.txt.cex = 1.2,
my.title = "",
par.title = list(side = 3, cex = 1.8, line = -3, adj = 0.5)
)
obj |
object of |
out.prefix |
character; output prefix. required |
gene.id |
should be in rownames(obj); genes to plot |
gene.symbol |
should be in rowData(obj)[,"display.name"]; genes to plot |
assay.name |
character; which assay (default: "exprs") |
expT |
double; expression threshold of the genes. (default: c(0.3,0.3)) |
pallete.name |
character; pallete to use. (default: "heat") |
ann.txt.dis |
double; adjust the position of the annotation text (default: 0.3) |
ann.txt.cex |
double; cex for annotation text (default: 1.2) |
my.title |
character; title of the figure (default: "") |
par.title |
list; parameters for drawing title by mtext (default: list(side=3,cex=1.8,line=-3,adj=0.5)) |
make density plot of genes. Note, density estimation from ggplot2 is different (and not so 'effective' as that from ks::kde). One of gene.id and gene.symbol must be provided.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.