genlabels {HardyWeinberg} | R Documentation |
Label genotype counts of a vector or matrix
Description
Function genlabels
sets the names of a vector or matrix of
genotype counts.
Usage
genlabels(X)
Arguments
X |
a 3 (or 5) element vector with genotype counts, a matrix of genotype counts (3 or 5 columns) |
Value
A vector or a matrix
Author(s)
Jan Graffelman (jan.graffelman@upc.edu)
See Also
Examples
x <- c(25,50,25)
x <- genlabels(x)
[Package HardyWeinberg version 1.7.8 Index]