pcaMat: Methylation Levels to Principal Components

Description Usage Arguments Value

View source: R/pcaMat.R

Description

Methylation Levels to Principal Components

Usage

1
pcaMat(M, varprop = 0.95)

Arguments

M

A matrix of methylation levels with dimensions n by K (n subjects, K CpG sites).

varprop

Cutoff for proportion of variance to be expalined. The first Kp principal components (PCs) are chosen such that varprop of the total variance is explained.

Value

A matrix of PCs with dimension n by Kp.


cxystat/AFb documentation built on June 17, 2021, 7:30 p.m.