sample_bootstrap: Function to bootstrap sampling

Description Usage Arguments Value

Description

It first centralize the input matrix X_1, X_2 for case and controls, then take a random sample from each of them with the same case or control size. It calls calc_centralize_matrix and called by RVS_rare.

Usage

1

Arguments

X1

genotype likelihood matrix for case

X2

genotype likelihood matrix for control

Value

two matrices which are the bootstrap sampling of genotype likelihood matrix for case (Xca) and control (Xco).


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