snpToContinuous {omicRexposome} | R Documentation

## Transforms the discrete genotype from a `snpSet` to a `matrix` of a continuous variable.

### 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

    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

[Package omicRexposome version 1.12.1 Index]