View source: R/scanpyFunctions.R
plotScanpyMarkerGenes | R Documentation |
plotScanpyMarkerGenes
plotScanpyMarkerGenes(
inSCE,
groups = NULL,
nGenes = 10,
nCols = 4,
sharey = FALSE
)
inSCE |
Input |
groups |
The groups for which to show the gene ranking. Default |
nGenes |
Number of genes to show. Default |
nCols |
Number of panels shown per row. Default |
sharey |
Controls if the y-axis of each panels should be shared.
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" )
plotScanpyMarkerGenes(sce, groups = '0')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.