plotClusterEvalStats: Compare and evaluate different batch corrected data with...

View source: R/sumBatchCorEval.R

plotClusterEvalStatsR Documentation

Compare and evaluate different batch corrected data with plotting.

Description

Compare and evaluate different batch corrected data with plotting.

Usage

plotClusterEvalStats(
  spe_list,
  bio_feature_name,
  batch_feature_name,
  data_names,
  colors = NA
)

Arguments

spe_list

A list of Spatial Experiment object.

bio_feature_name

The common biological variation name.

batch_feature_name

The common batch variation name.

data_names

Data names.

colors

Color values of filing the bars.

Value

A ggplot object.

Examples

library(scater)
data("dkd_spe_subset")
spe <- dkd_spe_subset
spe2 <- spe
spe3 <- spe
plotClusterEvalStats(list(spe, spe2, spe3),
  bio_feature_name = "region",
  batch_feature_name = "SlideName", c("test1", "test2", "test3")
)

DavisLaboratory/standR documentation built on Sept. 8, 2024, 9:57 p.m.