getOptimalRotation: Get Optimal Rotation.

Description Usage Arguments Details Value

View source: R/functions_Rotation.R

Description

'getOptimalRotation' rotates the PCA space to reveal the cell cycle in the first two dimensions.

Usage

1
getOptimalRotation(dataList, boolPlotResults = FALSE)

Arguments

dataList

A Revelio object that contains a raw data matrix, assigned cell cycle phases and PCA information.

boolPlotResults

TRUE/FALSE if resulting cell cycle should be plotted.

Details

The PCs that are dominated by cell cycle effects are isolated and sequences of three-dimensional rotations are performed, minimizing the cluster score in the corresponding third dimension. This isolates the cell cycle signal into the first dimensions.

Value

Returns the same Revelio object given as input with an added panel dc in the transformed data panel. Also the angle, radius und pseudotime ordering is added to the cellInfo panel.


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