pcapheno: Principal Component Analysis with Horn's Parallel Analysis

Description Usage Arguments Value Examples

View source: R/magpa.R

Description

the function is implemented to automatically extract the principal components from high-dimension data, which calls paran to performs Horn's parallel analysis for evaluating the components retained in a principle component analysis.

Usage

1
pcapheno(pheno, iterations = 100)

Arguments

pheno

A matrix with n rows of sample and m columns of features

iterations

sets the number of iterations with a user specified whole number representing the number of random data sets to be produced in the analysis. The default is 100.

Value

a list of objects with the pca of phenotypes and the results of parallel analysis

Examples

1
2

changebio/MAGPA documentation built on June 15, 2020, 9:26 p.m.