Description Usage Arguments Examples
View source: R/myviolin_plot.R
plot the stacked violinplot of single cell RNAseq data
1 2 3 4 5 6 7 8 9 10 11 12 |
gene |
a vector of the genes name to plot |
seurat_object |
the seurat object of your data |
cluster |
choose to cluster you interested |
axis |
logical,set the hidden axes |
legend_position |
position of legend |
limits.max |
numeric,the max legend value to regulate the color levels |
gene_name |
logical, set gene titile bold |
width |
the width of the figure |
height |
the height of the figure |
flip |
logical, set the direction of coordinate axis |
1 2 3 4 5 | ## Not run:
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.