Learn R Programming

Seurat (version 2.1.0)

PrintCCAParams: Print CCA Calculation Parameters

Description

Print the parameters chosen for the latest stored CCA calculation.

Usage

PrintCCAParams(object, raw = FALSE)

Arguments

object

Seurat object

raw

Print the entire contents of the calculation settings slot (calc.params) for the RunCCA calculation. Default (FALSE) will print a nicely formatted summary.

Value

No return value. Only prints to console.

Examples

Run this code
# NOT RUN {
# As CCA requires two datasets, we will split our test object into two just for this example
pbmc1 <- SubsetData(pbmc_small,cells.use = pbmc_small@cell.names[1:40])
pbmc2 <- SubsetData(pbmc_small,cells.use = pbmc_small@cell.names[41:80])
pbmc1@meta.data$group <- "group1"
pbmc2@meta.data$group <- "group2"
pbmc_cca <- RunCCA(pbmc1,pbmc2)
PrintCCAParams(object = pbmc_cca)

# }

Run the code above in your browser using DataLab