Learn R Programming

pcrsim (version 0.1.1)

listToDataframe: List to data frame

Description

listToDataframe convert list to data frame.

Usage

listToDataframe(data, kit, colName = NA)

Arguments

data
a list with alleles.
kit
string or integer indicating the amplification kit used.
colName
string specifying desired column name of the output data frame.

Value

  • data.frame with corresponding alleles.

Details

Convert DNA profile information in list format to data frame format. Returns the data binded to the respective marker/loci name.