benchmark.integration.Rd
Adopting scones method of Average Silhouette Width determination between batches. A depleted value is superior.
benchmark.intergation(
object,
batch,
assays,
reduction,
result.names,
n.components = 2
)
IBRAP S4 class object
Character. Whcih column in the metadata dataframe contains the batches.
Character. Which reduction(s) should be used to observe integration.
Character. A vector of names for the benchmarking results.
Numerical. How many components of the reduced embeddings should be used. Default = 2
Character. String containing indicating which assay to use
Benchmarking scores for the supplied integrations
object <- benchmark.intergation(object = object,
batch = 'original.project',
assays = c('SCT','SCRAN','SCANPY'),
reduction = c('pca_umap', 'pca_harmony_umap',
'scanorama_umap', 'pca_bbknn_bbknn:umap',
'CCA_pca_umap'),
result.names = c('uncorrected', 'harmony',
'scanorama', 'bbknn', 'cca'),
n.components = 2)
#> Error in is(object = object, class2 = "IBRAP"): object 'object' not found