| computePCA | R Documentation | 
This function is a part of the data analysis functionality of tcgaCleaneR. It performs PCA using SVD
algorithm (runSVD()) on the SummarizedExperiment class TCGA Cancer Data across all assays() and
generate PCs.
computePCA(data, nPcs, is.log)
| data | S4 data object | 
| nPcs | numeric: Number of PCs that needs to be generated | 
| is.log | logical: Checks if the S4 data has log values. If 'False', it converts data to log scale. | 
A List of S4 class containing n PCs. For all three assays(), two values are returned. sing.val contains singular values with u containing PCs. variation contains the variation of each PC.
## Not run: computePCA(data = brca.data, nPcs = 10, is.log = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.