plotTopMarkers | R Documentation |
Plot top markers
plotTopMarkers(object, markers, ...)
## S4 method for signature 'Seurat,SeuratMarkersPerCluster'
plotTopMarkers(
object,
markers,
direction = c("both", "up", "down"),
reduction = "UMAP",
n = 1L,
headerLevel = 2L,
...,
BPPARAM = BiocParallel::bpparam()
)
object |
Object. |
markers |
Object containing cell marker expression data. |
direction |
|
reduction |
|
n |
|
headerLevel |
|
... |
Passthrough arguments to |
BPPARAM |
|
The number of markers to plot is determined by the output of the
topMarkers()
function. If you want to reduce the number of genes to plot,
simply reassign first using that function. If necessary, we can add support
for the number of genes to plot here in a future update.
Show graphical output. Invisibly return a ggplot
list
.
Updated 2022-06-09.
data(Seurat, SeuratMarkersPerCluster, package = "AcidTest")
## Seurat, SeuratMarkersPerCluster ====
object <- Seurat
markers <- SeuratMarkersPerCluster
plotTopMarkers(
object = object,
markers = markers,
reduction = "UMAP"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.