full_normal_geno: Standardizing the genotype data.

Description Usage Arguments Value Examples

Description

The function standardizes a genotype data such that for each SNP the mean is 0 and standard deviation is 1.

Usage

1
full_normal_geno(geno_raw, max_size = 1e+05, NAval = NA)

Arguments

geno_raw

the genotype matrix assuming each row is the individual and each column is the SNP.

max_size

an integer for the maximum size of SNPs to be standardized at a time, the default is 100000. This option can be ignored for data with less than 1 million SNPs.

NAval

the missing value used in the output data matrix. The default is NA, for use with PLINK, set NAval = -9.

Value

a data matrix of standardized genotypes.

Examples

1
2
data(geno)
norm_geno <- full_normal_geno(geno_raw = geno)

GMELab/GraBLD documentation built on May 4, 2019, 3:20 p.m.