# NOT RUN {
pbmc_small
# As CCA requires two datasets, we will split our test object into two just for this example
pbmc1 <- SubsetData(pbmc_small,cells.use = [email protected][1:40])
pbmc2 <- SubsetData(pbmc_small,cells.use = [email protected][41:80])
[email protected]$group <- "group1"
[email protected]$group <- "group2"
pbmc_cca <- RunCCA(pbmc1,pbmc2)
# Print results
PrintDim(pbmc_cca,reduction.type = 'cca')
# }
Run the code above in your browser using DataLab