make.marker.numeric {bqtl} | R Documentation |
Translate a marker.frame.object to numeric matrix
Description
Not to be called directly by users. This utility function simply returns the coded numeric values corresponding to the allele states.
Usage
make.marker.numeric(marker.frame, level.names=NULL)
Arguments
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
|
Value
A matrix, for which column i is
match(as.character(marker.frame[,i]),level.names)
Author(s)
Charles C. Berry cberry@ucsd.edu
[Package bqtl version 1.0-36 Index]