getDimRedCoords.pca: getDimRedCoords.pca

View source: R/dimRed.R

getDimRedCoords.pcaR Documentation

getDimRedCoords.pca

Description

Get dimension reduction coordinates (PCA)

Usage

getDimRedCoords.pca(X, components = c(1, 2), method = "prcomp", ...)

Arguments

X

A matrix on which the dimension reduction is to be performed

components

principal component to be returned

method

Method/package to be used for computing principal components. Currently prcomp and irlba are supported.

...

other arguments passed on to the PCA method

Value

a matrix containing two columns for the reduced dimensions and the same number of rows as X

Author(s)

Fabian Mueller


demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.