Description Usage Arguments Examples
View source: R/myfeatureplot.R
Featureplot for genes and split by samples, group and so on.
1 | myfeatureplot(seurat.obj, genenames, filename = NULL, spilt_by = NULL)
|
seurat.obj |
seurat.obj to draw |
genenames |
genenames to draw a featureplot |
filename |
the name of the generated file |
spilt_by |
whether choose to spilt.by in meta.data |
1 2 3 4 5 6 7 8 | ## Not run:
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
genenames <- c("MS4A1", "CD79B", "CD79A", "HLA-DRA", "TCL1A", "HLA-DQB1", "HVCN1")
myfeatureplot(pbmc_1k, genenames)
myfeatureplot(pbmc_1k, genenames, spilt_by = 'group')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.