Description Usage Arguments Details Value Author(s)
Check if SNP groups can be combined.
1 | check.merge(d, test.groups)
|
d |
object of class snpmod |
test.groups |
list of character vectors, each vector giving the SNPs that comprise one group |
snp.picker tries to automatically group SNPs according the r2 and the model posterior probs, but may sometimes make two separate groups when one combined group might be considered more appropriate. To check whether two groups can be combined, we need to check that SNPs from both groups are rarely included in the same models.
If the output shows that pp["all"] >> pp["any"], and the SNPs have
been shown to be in some LD, then it is likely that the groups can
be appropriately merged, using groups.merge
.
shows the posterior probability of models containing exactly one, any, or all of the SNPs.
Chris Wallace
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.