visIntegration {CellMixS} | R Documentation |
Creates a summary plot of metric scores (for different integration methods).
visIntegration(res_object, metric_prefix = "cms", violin = FALSE)
res_object |
|
metric_prefix |
Character. Prefix to specify names of
|
violin |
A logical. If true violin plots are plotted, while the default (FALSE) will plot ridge plots. |
Plots summarized cms scores from an SingleCellExperiment
object, list or dataframe. This function is intended to visualize and
compare different methods and views of the same dataset, not to compare
different datasets.
a ggplot
object.
visCluster
, ggridges
library(SingleCellExperiment) sim_list <- readRDS(system.file("extdata/sim50.rds", package = "CellMixS")) sce <- sim_list[["batch20"]][, c(1:30,300:320)] sce_mnn <- cms(sce,"batch", k = 20, dim_red = "MNN", res_name = "MNN", n_dim = 2) visIntegration(sce_mnn, metric_prefix = "cms.", violin = TRUE)