pca: PCA

pcaR Documentation

PCA

Description

PCA

Usage

pca(collection, nPCs = 10, ntop = 500, verbose = c(TRUE, FALSE))

Arguments

collection

A Collection object

nPCs

Number of principal components to return. Default 10

ntop

Use the top ntop genes with the highest variance for the pca computation. Mirrors the deseq2 plotPCA argument. Default 500.

verbose

Boolean indicating if extra messaging should be printed.

Value

A ComputeResult object. The data slot contains a data.table with the id columns and the first nPCs principal components.


VEuPathDB/veupathUtils documentation built on Feb. 8, 2025, 12:29 p.m.