remove_na: Function to remove missing values from matrix

Description Usage Arguments Value

View source: R/utils.R

Description

Replaces NA values from columns of matrix with column mean.

Usage

1

Arguments

x

Genotype matrix with dimensions n x m

Value

Genotype matrix with dimension n x m with NA values replaced with the corresponding column mean.


afrahshafquat/phelex documentation built on Feb. 5, 2020, 7:44 p.m.