Learn R Programming

Fragman (version 1.0.1)

num.to.lett: Number to Letter code converter

Description

This function converts dataframes with rounded calls (numeric format in 2 cells), to letter format based on the GBS pipeline developed by Elshire et al. (2011) which can be used as intermediate step to transform to joinmap and Onemap formats, it requires mother and father in first and second row

Usage

num.to.lett(xx)

Arguments

xx
matrix with numbers, every 2 columns is a marker and each row is an individual, parents are located in the first 2 rows

Value

  • If arguments are correct the function returns a list containing [object Object]

Details

No major details.

References

Robert J. Henry. 2013. Molecular Markers in Plants. Wiley-Blackwell. ISBN 978-0-470-95951-0.

Ben Hui Liu. 1998. Statistical Genomics. CRC Press LLC. ISBN 0-8493-3166-8.

Examples

Run this code
xx <- data.frame(cbind(a=rep(150, 96), b=c(rep(100,48), rep(150,48))))
num.to.lett(xx)

Run the code above in your browser using DataLab