genlabels: Label genotype counts of a vector or matrix

View source: R/genlabels.R

genlabelsR 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

HWChisq

Examples

x <- c(25,50,25)
x <- genlabels(x)

HardyWeinberg documentation built on May 7, 2022, 5:05 p.m.