makeTransTable {GeneticsBase} | R Documentation |
Create a single translation table of the markers. It is called by makeTransTableList to make a list of translation tables.
makeTransTable(alleleString = "Aa", sep = "/", ploidy = 2)
alleleString |
character vector such as c("12", "ACGT") |
sep |
separation symbol of the allels in alleleString |
ploidy |
Currently implemented only for ploidy=2 |
a matrix of (# of alleles in alleleString)^2 by ploidy, and must include a column named "levels".
Scott Chasalow Scott.Chasalow@bms.com, Junsheng Cheng cjsuicedu@yahoo.com