make.marker.numeric | R Documentation |
Not to be called directly by users. This utility function simply returns the coded numeric values corresponding to the allele states.
make.marker.numeric(marker.frame, level.names=NULL)
marker.frame |
A data.frame.object consisting of factors or character vectors that encode the allele states. |
level.names |
A vector of length 6 to translate the levels
attribute or character codes into allele states that
|
A matrix, for which column i is
match(as.character(marker.frame[,i]),level.names)
Charles C. Berry cberry@ucsd.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.