snpToContinuous: Transforms the discrete genotype from a 'snpSet' to a...

Description Usage Arguments Value See Also

View source: R/snpToContinuous.R

Description

The function converts the categorical variable of SNPs to a continuous variable by normalizing each SNP as described in Abraham G. and Inouye M. 2014 (DOI: 10.1371/journal.pone.0093766).

Usage

1
snpToContinuous(snpSet, verbose = FALSE)

Arguments

snpSet

An object of class snpSet with set calls slot .

verbose

If set to TRUE, messages will be shown.

Value

An matrix of the calls of the SNPs converted to a continuous variable.

See Also

crossomics use this function


isglobal-brge/omicRexposome documentation built on Oct. 20, 2021, 10:09 a.m.