Description Usage Arguments Details Examples
View source: R/myviolin_plot.R
This function is used to plot the stacked violinplot of single cell RNAseq data
1 2 3 4 5 6 7 8 9 10 11 12 13 |
gene |
a vector of the genes name to plot |
seurat_object |
the seurat object of your data |
cluster |
choose to cluster you interested |
limits.max |
numeric,the max legend value to regulate the color levels |
width |
the width of the figure |
height |
the height of the figure |
flip |
logical,set the direction of coordinate axis |
filename |
the name of the generated file |
text.size |
numeric,the text size of gene names |
Mean |
whether choose to mean |
col |
col of the figure |
This function is used to plot the stacked violinplot of single cell RNAseq data or any seurat object for specified genes expressed on celltype clusters.
1 2 3 4 5 6 | ## Not run:
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
gene=c('CD8A','CD4')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.