This function performs principal component analyses (PCA).

perform.PCA(DEprot.object, sample.subset = NULL, which.data = "imputed")

Arguments

DEprot.object

An object of class DEprot.

sample.subset

String vector indicating the column names (samples) to keep in the counts table (the 'column.id' in the metadata table). Default: NULL (no subsetting).

which.data

String indicating which type of counts should be used. One among: 'raw', 'normalized', 'norm', 'imputed', 'imp'. Default: "imputed".

Value

A DEprot.PCA, containing the PC values (PCs) and the importance summary (importance).