Perform Single Marker Testing (SMT) on a particular variant
TestMarker.Rd
Perform Single Marker Testing (SMT) on a particular variant
Arguments
- x
a null model object as returned by FitNull
- g
a genotype vector
- add.noise
if 'raw' return raw residuals, if FALSE simply rank normalize residuals, if TRUE add structured noise along the subspace spanned by the background covs and genotype so that the residuals are 'full rank': truly from N(0,I), not a curved Gaussian.