format_multidog | R Documentation |
multidog
.This function will allow you to have genotype estimates, maximum posterior probability, and other values in the form of a matrix/array. If multiple variable names are provided, the data are formatted as a 3-dimensional array with the dimensions corresponding to (individuals, SNPs, variables).
format_multidog(x, varname = "geno")
x |
The output of |
varname |
A character vector of the variable names whose values
populate the cells. These should be column names from |
Note that the order of the individuals will be reshuffled. The order of the
SNPs should be the same as in x$snpdf
.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.