Learn R Programming

strataG (version 1.0.3)

alleleSplit: Split Alleles For Diploid Data

Description

Split loci from one column to two columns in a matrix of diploid data.

Usage

alleleSplit(x)

Arguments

x
a matrix or data.frame containing diploid data. Every column represents one locus with two alleles.

Value

  • matrix with alleles for each locus in one column split into separate columns.