This function takes an object of class iCellR and runs CCCA or CPCA batch alignment.
iba(
x = NULL,
dims = 1:30,
k = 10,
ba.method = "CPCA",
method = "base.mean.rank",
top.rank = 500,
plus.log.value = 0.1,
scale.data = TRUE,
gene.list = "character"
)
An object of class iCellR.
PC dimentions to be used
number of neighboring cells for KNN, default = 10.
Batch alignment method. Choose from "CCCA" and "CPCA", default = "CPCA".
Choose from "base.mean.rank" or "gene.model", default is "base.mean.rank". If gene.model is chosen you need to provide gene.list.
A number. Taking the top genes ranked by base mean, default = 500.
A number to add to each value in the matrix before log transformasion to aviond Inf numbers, default = 0.1.
If TRUE the data will be scaled (log2 + plus.log.value), default = TRUE.
A charactor vector of genes to be used for PCA. If "clust.method" is set to "gene.model", default = "my_model_genes.txt".