Calculates per-SNP Rao score test statistics for case/control phenotypes.
Usage
get_marginal_stats_bin(X, y)
Arguments
- X
Numeric matrix. Genotype dosage matrix (individuals x SNPs).
- y
Numeric vector. Binary phenotype vector (0/1).
Value
List with two elements: