# NOT RUN {
pbmc_small
# As multi-set CCA requires more than two datasets, we will split our test object into
# three just for this example
pbmc1 <- SubsetData(pbmc_small,cells.use = [email protected][1:30])
pbmc2 <- SubsetData(pbmc_small,cells.use = [email protected][31:60])
pbmc3 <- SubsetData(pbmc_small,cells.use = [email protected][61:80])
[email protected]$group <- "group1"
[email protected]$group <- "group2"
[email protected]$group <- "group3"
pbmc.list <- list(pbmc1, pbmc2, pbmc3)
pbmc_cca <- RunMultiCCA(object.list = pbmc.list, genes.use = [email protected], num.ccs = 3)
# Print results
PrintDim(pbmc_cca,reduction.type = 'cca')
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab