View source: R/sumBatchCorEval.R
computeClusterEvalStats | R Documentation |
Calculate statistics for evaluating batch correction
computeClusterEvalStats(
spe_object,
foiColumn,
precomputed = NULL,
n_dimension = c(1, 2),
assay = 2
)
spe_object |
A Spatial Experiment object. |
foiColumn |
A column name indicating the factor of interest to be tested, can be biological factor or batch factor. |
precomputed |
a dimensional reduction results from |
n_dimension |
The top n dimensions to be plotted |
assay |
a numeric or character, specifying the assay to use (for
|
A dataframe object containing the clustering evaluating statistics.
library(scater)
data("dkd_spe_subset")
computeClusterEvalStats(dkd_spe_subset, "SlideName")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.