Hi Karl,
I have ~400 F2 mice which were infected with multiple viruses in multiple batches. So while doing permutation testing I'd like to permute the phenotypes within each batch and infection group.
I originally coded this up by creating a variable with a unique value for each batch/infection combination to pass into perm.strata. I'm now wondering if the addcovar argument would work as well. If I passed addcovar = infection/batch and n.perm=1000 into scanone (without perm.strata specified), would it permute the phenotypes within the stratifications defined by the covariates?
Sorry if this was already answered elsewhere.
Ellen