Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

genlabels

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)

HardyWeinberg

Statistical Tests and Graphics for Hardy-Weinberg Equilibrium

v1.7.2
GPL (>= 2)
Authors
Jan Graffelman [aut, cre], Christopher Chang [ctb], Xavi Puig [ctb], Jan Wigginton [ctb], Leonardo Ortoleva [ctb], William R. Engels [ctb]
Initial release
2021-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.