Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

format_multidog

Return arrayicized elements from the output of multidog.


Description

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).

Usage

format_multidog(x, varname = "geno")

Arguments

x

The output of multidog.

varname

A character vector of the variable names whose values populate the cells. These should be column names from x$inddf.

Details

Note that the order of the individuals will be reshuffled. The order of the SNPs should be the same as in x$snpdf.

Author(s)

David Gerard


updog

Flexible Genotyping for Polyploids

v2.0.2
GPL-3
Authors
David Gerard [aut, cre] (<https://orcid.org/0000-0001-9450-5023>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.