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

HWClo

Convert genotype counts to compositions


Description

Function HWClo divides each row of a matrix by its total, and so produces matrix of compositions.

Usage

HWClo(X)

Arguments

X

A matrix of (genotype) counts

Value

A matrix

Author(s)

Jan Graffelman jan.graffelman@upc.edu

See Also

Examples

X <- HWData(2,100)
  Y <- HWClo(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.