getPCAData: Perform PCA.

Description Usage Arguments Details Value

View source: R/functions_PCA.R

Description

'getPCAData' performs a principal component analysis (PCA).

Usage

1
getPCAData(dataList, boolPlotResults = FALSE)

Arguments

dataList

A Revelio object that contains a raw data matrix with assigned cell cycle phases.

boolPlotResults

TRUE/FALSE if pairwise PCA plots should be shown.

Details

The data is transformed to z-scores and PCA is applied. When creating the Revelio object, the user should have defined which genes should be utilized for the PCA. By default this should be 'variableGenes' but can be changed to 'allGenes'. Be aware that the algorithm takes much longer when using all genes.

Value

Returns the same Revelio object given as input but now with added PCA information under the transformedData panel.


danielschw188/Revelio documentation built on April 30, 2021, 1:02 p.m.