makeMethAge-method: This function create the MetnAge object

Description Usage Arguments Value Examples

Description

If you want to create one MetnAge, you should use the function named makeMetnAge.

Usage

1
makeMetnAge(metainfo, sampleinfo)

Arguments

metainfo

a dataframe contains the Methylation perc, the dataframe can be got from the methylKit::percMethylation -> GRanges The first 5 cols should be chr,seqnames,start,end,width. In fact the dataframe is construct from GRanges

sampleinfo

a dataframe contain the sampleinfo. It must include ages.

Value

a Metnage object

Examples

1
2
data("ExampleMethnAge")
testobj<-makeMetnAge(test,sampleInfo)

ritianjiang/MethyAge2 documentation built on Dec. 3, 2019, 2:03 p.m.