get_NAs: Remove missing values

Description Usage Arguments Value

Description

The function records and removes the missing values from the input data matrix.

Usage

1
get_NAs(data, NA_value = "NaN")

Arguments

data

a numeric data matrix

NA_value

the missing value code in the data, the default is NaN. Could also be NA or -9 commonly used in PLINK data.

Value

a data matrix of genotypes.


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