Skip to contents

Perform SMT

Usage

TestMarker(x, g, add.noise = FALSE)

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.