plotCellTypesPerCluster | R Documentation |
Plot cell types per cluster
plotCellTypesPerCluster(object, markers, ...)
## S4 method for signature 'SingleCellExperiment,KnownMarkers'
plotCellTypesPerCluster(
object,
markers,
min = 1L,
max = Inf,
reduction = "UMAP",
expression = c("mean", "sum"),
headerLevel = 2L,
...
)
object |
Object. |
markers |
Object containing gene markers. |
min |
|
max |
|
reduction |
|
expression |
|
headerLevel |
|
... |
Passthrough arguments to |
Plot the geometric mean of the significant marker genes for every known cell
type (per unbiased cluster). Cell types with too few (min
cutoff) or too
many (max
cutoff) marker genes will be skipped.
Show graphical output. Invisibly return list
.
Updated 2023-08-17.
data(
KnownMarkers,
SingleCellExperiment_Seurat,
package = "AcidTest"
)
## SingleCellExperiment ====
object <- SingleCellExperiment_Seurat
markers <- KnownMarkers
plotCellTypesPerCluster(
object = object,
markers = markers,
reduction = "UMAP"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.