Description Usage Arguments Details Value See Also Examples
Creates summary plots of metric scores for different groups/cluster.
1 | visCluster(sce_cms, cluster_var, metric_var = "cms", violin = FALSE)
|
sce_cms |
A |
cluster_var |
Character. Name of the factor level variable to summarize metric scores on. |
metric_var |
Character Name of the metric scores to use. Default is "cms". |
violin |
A logical. If true violin plots are plotted, while the default (FALSE) will plot ridge plots. |
Plots summarized metric scores. This function is intended to visualize and compare metric scores among clusters or other dataset variables spcified in 'cluster_var'.
a ggplot
object.
Other visualize functions:
visGroup()
1 2 3 4 5 6 7 | library(SingleCellExperiment)
sim_list <- readRDS(system.file("extdata/sim50.rds", package = "CellMixS"))
sce <- sim_list[[1]][, c(1:30,300:320)]
sce_cms <- cms(sce, "batch", k = 20, n_dim = 2)
visCluster(sce_cms, "batch")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.