logFCmatrixPCA: Perform principal component analysis to the log fold-change...

View source: R/logFCpca.R

logFCmatrixPCAR Documentation

Perform principal component analysis to the log fold-change matrix

Description

Perform principal component analysis to the log fold-change matrix

Usage

logFCmatrixPCA(lfc)

Arguments

lfc

A matrix of log2 fold changes, with features in rows and contrasts in columns

Value

A PCAScoreMatrix object

The function performs principal component analysis (PCA) to the log fold-change matrix.

By using a column of zeros during the PCA analysis, which was removed from the final result, the point of origin represents an ideal contrast which yield absolutely no differential gene expression. It is easier to interpret the PCA results with this transformation.

Examples

my_lfc_mat <- matrix(rnorm(1000), nrow=100, ncol=10)
my_lfc_pca <- logFCmatrixPCA(my_lfc_mat)
my_lfc_pca

bedapub/ribiosNGS documentation built on Feb. 10, 2025, 12:34 a.m.