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 specify 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 fails 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/GAprediction documentation built on May 8, 2019, 4:40 p.m.