View source: R/scanpyFunctions.R
plotScanpyMarkerGenesViolin | R Documentation |
plotScanpyMarkerGenesViolin
plotScanpyMarkerGenesViolin(inSCE, groups = NULL, features = NULL, nGenes = 10)
inSCE |
Input |
groups |
The groups for which to show the gene ranking. Default |
features |
List of genes to plot. Is only useful if interested in a custom gene list |
nGenes |
Number of genes to show. Default |
plot object
data(scExample, package = "singleCellTK")
## Not run:
sce <- runScanpyNormalizeData(sce, useAssay = "counts")
sce <- runScanpyFindHVG(sce, useAssay = "scanpyNormData", method = "seurat")
sce <- runScanpyScaleData(sce, useAssay = "scanpyNormData")
sce <- runScanpyPCA(sce, useAssay = "scanpyScaledData")
sce <- runScanpyFindClusters(sce, useReducedDim = "scanpyPCA")
sce <- runScanpyFindMarkers(sce, colDataName = "Scanpy_louvain_1" )
plotScanpyMarkerGenesViolin(sce, groups = '0')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.