View source: R/magic_rearrange.R
magic.rearrange | R Documentation |
This function rearranges a matrix of founder combinations such that smaller founder appears before larger founder in any cross (e.g. 3124 becomes 1324).
magic.rearrange(fmat)
fmat |
matrix of founder combinations. |
a rearranged matrix of founder combinations.
mpop <- t(sapply(1:3, FUN=function(x) sample(1:8, 8))) mpop <- magic.rearrange(fmat=mpop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.