snpToContinuous {omicRexposome} | R Documentation |
snpSet
to a matrix
of
a continuous variable.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).
snpToContinuous(snpSet, verbose = FALSE)
snpSet |
An object of class |
verbose |
If set to |
An matrix
of the calls of the SNPs converted to a continuous
variable.
crossomics use this function