extract_eigen: extract eigen-loci from co-methylation module

Description Usage Arguments Examples

View source: R/extract_eigen.R

Description

extract eigen-loci from co-methylation module

Usage

1
extract_eigen(csm.ml, all_label, number_of_eig)

Arguments

csm.ml

The methylation profile with each row denotes one loci and each column denotes a sample

all_label

A vector contains the module labels for all the loci

number_of_eig

Total number of eigen-loci need to be extracted

Examples

1
#eigen_loci <- extract_eigen(methy_data=module$profile,all_label=module$module_id,number_of_eig=100,plot=T)

Gavin-Yinld/coMethy documentation built on Aug. 23, 2019, 11:37 p.m.