SRAT with adjustment for additional covariates
srat( Y, Z, X, cluster = NULL, init = NULL, w_sqrt = NULL, bw = NULL, bw_adj = NULL, n_ptb = 1000 )
Y | outcome vector (e.g., phenotype) |
---|---|
Z | covariates for testing (e.g., genotype) |
X | covariates for adjustment (e.g., age, gender) |
cluster | family identifier |
init | initial parameters |
w_sqrt | square root of weight vector |
bw | bandwidth |
bw_adj | adjusted factor to bandwidth |
n_ptb | number of perturbations |