Description Usage Arguments Details Value Author(s)
Collapse a model matrix by SNP groups
1 | models.group.collapse(models, groups)
|
models |
model matrix |
groups |
list, each element of which is a character vector listing SNPs in that group |
Internal function
A dgCMatrix, with ncol==length(groups), and entry 1 if a SNP from that group is in the model. Returns the input matrix in the case groups has zero length.
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.