I used a 2part model so my scanone object has 3 LOD scores (
lod.p.mu, lod.p, and
lod.mu). I read that I could specify multiple thresholds, equal to the number of LOD columns. When I specify 3 thresholds:
summary(mod, threshold = c(3,3,3))
The results are not as expected (i.e. I get results that are below threshold for all LOD columns) and I get this error:
Warning message:
In object[wh, lodcolumn] > threshold :
longer object length is not a multiple of shorter object length
But when I specify 4 thresholds:
summary(mod, threshold = c(3,3,3,3))
It works... is this a bug or am I using this wrong?
Also, is it possible to specify autosome and X-chromosome-specific thresholds for multiple LOD columns? I was able to specify X-chromosome-specific thresholds for 1 LOD column by specifying c(rep(autosome_threshold, 19), x_threshold) but haven't been able to get it to work with multiple LOD columns.
Thanks,
Ellen