UL.mod.cv: A glmnet-object trained to perform gestational age...

Description Details Source References Examples

Description

The glmnet-object consists of a Lasso-regression model 'trained' to perform gestational age predictions. It is called by the wrapper function predictGA, which is more user-friendly.

Details

The trained Lasso-model contains cross-validated estimates of the penalty term lambda that regulates the number of CpG sites needed for gestational age prediction. It is called by the glmnet-inherited predict function with a matrix of CpG betas (with values between 0 and 1) that conforms to the Illumina HumanMethylation450 platform. The gestational age estimates used to train the regression model were taken from the MoBa cohort and are based on ultrasound.

Source

Magnus P, Irgens LM, Haug K, Nystad W, Skjaerven R, Stoltenberg C, MoBa Study Group. Cohort profile: the Norwegian mother and child cohort study (MoBa). International journal of epidemiology. 2006 Oct 1;35(5):1146-50.

References

Jerome Friedman, Trevor Hastie, Robert Tibshirani (2010). Regularization Paths for Generalized Linear Models via Coordinate Descent. Journal of Statistical Software, 33(1), 1-22. URL http://www.jstatsoft.org/v33/i01/.

Examples

1
2
3
4
## Extract all non-zero regression coefficients
temp <- as.matrix( coef( UL.mod.cv ) )
allNonZeroCoefs <- rownames( temp )[ temp[,1]!=0 ]
allNonZeroCoefs[ -1 ]

Example output

 [1] "cg00153101" "cg00602416" "cg00711496" "cg01190109" "cg01281797"
 [6] "cg01635555" "cg01833485" "cg02324006" "cg02405476" "cg02567958"
[11] "cg02642822" "cg03098721" "cg03108070" "cg03281561" "cg03337084"
[16] "cg03507326" "cg03710860" "cg03729251" "cg03773820" "cg03963689"
[21] "cg04347477" "cg04685228" "cg05053327" "cg05544807" "cg05877497"
[26] "cg06753281" "cg06897661" "cg07106169" "cg07676709" "cg07738730"
[31] "cg07749613" "cg07788865" "cg07816074" "cg07835443" "cg08326019"
[36] "cg08620426" "cg08943494" "cg08965235" "cg09447786" "cg10107671"
[41] "cg10308785" "cg11124260" "cg11294761" "cg11864574" "cg12564453"
[46] "cg12880227" "cg12999267" "cg13036381" "cg13066703" "cg13433246"
[51] "cg13641317" "cg13733403" "cg13959344" "cg13982823" "cg14276580"
[56] "cg14427590" "cg15035133" "cg15131146" "cg15165154" "cg15626350"
[61] "cg15908709" "cg16187883" "cg16348385" "cg16536918" "cg17022232"
[66] "cg18183624" "cg18217136" "cg18954401" "cg19057830" "cg19439123"
[71] "cg19875532" "cg20301308" "cg20303561" "cg20377955" "cg20816447"
[76] "cg21081878" "cg21143441" "cg21155834" "cg21221899" "cg21707172"
[81] "cg21878650" "cg22761205" "cg22796593" "cg22797644" "cg23051248"
[86] "cg23346945" "cg23403099" "cg23457357" "cg24041556" "cg24087613"
[91] "cg24366564" "cg25150953" "cg25531857" "cg25639749" "cg26077811"
[96] "cg26092675"

GAprediction documentation built on Nov. 8, 2020, 7:48 p.m.