smokeScore: Create a DNA methylation based in utero exposure score to...

Description Usage Arguments Value Examples

View source: R/smokeScore.R

Description

Create a DNA methylation based in utero exposure score to maternal smoking.

Usage

1
2
smokeScore(data = data, ARRAY = c("450k", "EPIC"), class = c("class",
  "prob"))

Arguments

data

A data frame with CpGs in the columns and study participants in the rows.

ARRAY

specifying array type: either "450k" or "EPIC".

class

specifying the desired output: either "prob" or "class".

Value

smokeScore as probability or classification.

Examples

1
2
3
4
5
## Not run: 
 smokeScore(data, "450k", "prob")
 smokeScore(data, "EPIC", "class")
 
## End(Not run)

Hobbeist/DNAsmokeR documentation built on Nov. 18, 2019, 5:17 a.m.