powered by
Regression of the untransformed phenotype on genotype, covariates, and adjustments for population structure.
BAT(y, G, X, S, M = T)
Numeric phenotype vector.
Snp by obs genotype matrix.
Obs by feature covariate matrix.
Obs by feature structure matrix.
Apply missingness filter? See missFilter.
missFilter
A numeric vector of p-values assessing the null hypothesis of no genotypic effect. P-values are estimated using the Wald statistic, and correspond to the rows of G.
# NOT RUN { # BAT against normal phenotype p = RNOmni::BAT(y=RNOmni::Y[,1],G=RNOmni::G[1:10,],X=RNOmni::X,S=RNOmni::S); # }
Run the code above in your browser using DataLab