ageMetCorr-method: ageMethCorr

Description Usage Arguments Value Examples

Description

This function calculate the roles that age played in methylation status.we used the mixed linear effect model to calculate thep-value and slope of age by nlme. The null model is Methperc~gender+site+(1|sub) and the full mode is Methperc~gender+site+age+(1|sub). To get the LRT, we adapt the "ML" instead of "REML" to estimate paramaters

Usage

1
ageMetCorr(object, cors)

Arguments

cors

a numeric value of numbers of cores you wanna use. (default:1)

objects

MetnAge object

Value

a dataframe contains site location info and p-value and slope AND Q-VALUE

Examples

1
2
3
data("ExampleMethnAge")
testobj<-makeMetnAge(test,sampleInfo)
cls<-ageMetCorr(testobj,cors = 2)

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