extractSites: Extract CpG sites for gestational age prediction

Description Usage Arguments Details Value Author(s) See Also Examples

Description

The function allows the user to extract CpG sites used for gestational age prediction with the function predictGA.

Usage

1

Arguments

The argument type=c("se", "min", "all") can be used to spesify which CpGs are to be extracted. "se" designates the CpGs needed by the predictGA function if the penalty term lambda is to be set to one standard error within the minimum, "min" specifies the minimum lambda, while "all" returns the complete sets of CpGs in the UL.mod.cv object.

type

- a string that can be "se" (default), "min" or "all", depending on which CpGs is wanted by the user.

Details

Use this function if predictGA failes due to missing predictor CpGs, or to see which CpGs are used by predictGA for gestational age prediction.

Value

Returns a vector with the requested CpG sites.

Author(s)

Jon Bohlin

See Also

predictGA, UL.mod.cv

Examples

1
CpGs<-extractSites(type="se")

JonBohlin/predictGA documentation built on May 7, 2019, 12:03 p.m.