pca {geneExpression} R Documentation

do PCA on a gene expressin matrix

Description

Usage

pca(x,
    npc = 3);

Arguments

x

a gene expression matrix. [as Matrix]

npc

the max number of the principal components for calculate, the PCA analysis is applied on the gene expression matrix in row(gene) and column(sample) mode: each gene feature row is an observation and each sample column is a data dimension. [as integer]

Details

Authors

phenotype_kit

Value

a data frame object of the PCA score result: each row is a gene feature in the input expression matrix(the row name is the gene id), and the columns are the principal component scores: PC1, PC2, ... PC{npc}.

clr value class

Examples


[Package geneExpression version 1.0.0.0 Index]