calc_centralize_matrix: Function to centralize a matrix X by column

Description Usage Arguments Value

Description

This function will centeralized each column of the input X by the mean of that column calculated from non-missing data. It is called by sample_bootstrap and calc_ScoreV_RVS

Usage

1

Arguments

X

a matrix. In our package, X is the genotype likelihood matrix, one column for each snp

Value

A volumn-centeralized matrix for the given matrix X


Struglab/RVS documentation built on May 9, 2019, 3:11 p.m.