Description Usage Arguments Value Author(s)
Each column is assummed to be the genotype for a SNP. The two genotype matrices should have the same size.
1 2 | collapseMat(m1, m2, collapse_matrix = matrix(c(0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L,
0L, 1L, 0L, 3L, 0L, 1L, 3L, 3L), 4, 4))
|
m1 |
first genotype matrix |
m2 |
second genotype matrix |
collapse_matrix |
collapsed genotype matrix |
collapsed genotyp matrix
kaiyin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.