Learn R Programming

mlPhaser (version 0.01)

listGenoToTable: Genotype list to genotype table

Description

Converts a list of genotypes to a table with several columns per locus.

Usage

listGenoToTable(genoList)

Arguments

genoList
A list of lists. One entry per genotype (sample) each containing a list of loci to store the alleles.

Value

A data.frame a row for each genotype and n colums for each locus (where n is ploidy of locus)

Details

The multiple columns per locus are differentiated with a numerical suffic. e.g. locA.1, locA.2