Description Usage Arguments Value Examples
View source: R/GettsnesignatureSuper.R
This function plot tsne or PCA stained by gene relative expression
1 2 3 4 | GettsnesignatureSuper(object, object.all, signiture = c("INS", "RBP4",
"FFAR4", "ID1", "ID2", "ID3", "DNAJB1"), doPCA = F, dotSNE = T,
usePC34 = F, extratitle = "", toreturn = F, dotsize = 0.3,
buttomgrey = T, nolegend = T, highcolor = "red")
|
object |
The seurat object that has been analyzed. |
object.all |
The total object for normalization. Usually it is the same as object |
signiture |
a vector of gene names that are intersting to be checked on tsne by color intensity |
doPCA |
if ture then stain on PCA12 plot. default is F |
dotSNE |
if ture then stain on tsne plot. default is T |
usePC34 |
if true, plot the PC34 istead of PC12. Default is F |
extratitle |
A string that can be added to the title of figures. default is "" |
dotsize |
The dot size for the figures, default is 0.3 |
buttomgrey |
if true, The cells with no expression set color as grey |
nolegend |
if true, no color intensity legend is put |
highcolor |
The color for highest expression, A color spectrum is formed between "grey" to the color set. Default is red |
draw figures. if toreturn=T, then return a list of figures
1 | Fullplot_v2(S7rock_1.ob,"S7rock_1.ob.pdf",topgene=NULL,resolusion="res.0.6",signiture=c("INS","GCG","SST","PPY","KRT19","COL1A2","REG1A","DNAJB1","GHRL"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.