Description Usage Arguments Value Examples
In simulated datasets, the order or markers and alleles within samples is often given. To remove any prior knowledge, that would not be available, the data should be randomized. Thus, the performance of our tool can be validated unbiased.
1 | shuffleInput(input, ploidy = 4, ignore = 0)
|
input |
Matrix of genotypes. Rows represent markers. Columns represent samples. |
ploidy |
Ploidy level of the organism. Default is 4. |
ignore |
In case of unnecessary fronstanding columns (e.g. parental genotypes or rownames), these can be excluded from the randomization. |
Matrix of the same size as the input matrix. The markers are in a random order and the alleles within the samples are in a random order.
1 2 | data(simTetra)
shuffleInput(simTetra, 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.