perform.scanorama.Rd
Performs Scanorama integration on defined method-assays and reductions contained within. This is performed on reductions.
perform.scanorama(
object,
assay,
slot = "norm.scaled",
batch,
n.dims = 50,
reduction.save.suffix = "",
batch_size = 5000,
approx = TRUE,
sigma = 15,
alpha = 0.1,
knn = 20,
union = FALSE,
verbose = FALSE,
seed = 1234
)
IBRAP S4 class object
Character. String containing indicating which assay to use
Character. String defining which slot in the assay to supply to Scanorama. Default = NULL
Character. indicating the metadata column containing the batch to split the assay by.
Numerical. The number of Scanorama dimensions to be produced. Default = 50
Character. Should a suffix be added to the end of scanorama, This cannot include underscores.
Numerical. The batch size used in the alignment vector computation. Useful when integrating large datasets. Default = 5000
Boolean. Use appoximate nearest neighbours within python, speeds up runtime. Default = TRUE
Numerical. Correction smoothing parameter on Gaussian kernel. Default = 15
Numerical. Alignment score minimum cutoff. Default = 0.1
Numerical. Number of nearest neighbors to use for matching. Default = 20
Logical Should function messages be printed?
Numerical What seed should be set. Default = 1234
Scanorama reduction saved in the supplied method-assays
object <- perform.scanorama(object = object,
assay = c('SCT', 'SCRAN', 'SCANPY'),
slot = 'norm.scaled',
batch = 'original.project',
n.dims = 50)
#> Error in is(object = object, class2 = "IBRAP"): object 'object' not found