tableGenoToList: Convert genotype table to list of lists

Description Usage Arguments Details Value

Description

Converts a table of genotypes to a list of lists, one sub-list per genotype.

Usage

1
  tableGenoToList(genoTable, locusNames)

Arguments

genoTable

A data.frame containg genotypes. One row per genotype. Multiple columns per locus as per the ploidy.

locusNames

A character vector of locus names.

Details

Converts a table of genotypes to a list of lists, one sub-list per genotype.

Value

genotypes as a list of lists


mlPhaser documentation built on May 2, 2019, 7:59 a.m.