HWAlrPlot: Plot genetic markers in additive log-ratio coordinates

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/HWAlrPlot.R

Description

HWAlrPlot creates a scatter plot of the log-ratio coordinates of bi-allelic genetic markers. Hardy-Weinberg equilibrium is indicated by a straigh line in the plot.

Usage

1
HWAlrPlot(X, zeroadj = 0.5)

Arguments

X

A matrix of genotype counts (columns AA, AB, BB)

zeroadj

Zero-adjustment parameter. Zero counts in the count matrix are substituted by zeroadj which is 0.5 by default.

Value

NULL

Author(s)

Jan Graffelman (jan.graffelman@upc.edu)

References

Graffelman, J. and Egozcue, J. J. (2011) Hardy-Weinberg equilibrium: a non-parametric compositional approach. In: Vera Pawlowsky-Glahn and Antonella Buccianti (eds.) Compositional Data Analysis: Theory and Applications, John Wiley \& Sons, Ltd, pp. 207-215

See Also

HWClrPlot,HWIlrPlot

Examples

1
2
   X <- HWClo(HWData(100,100))
   HWAlrPlot(X)

HardyWeinberg documentation built on May 29, 2017, 4:26 p.m.

Search within the HardyWeinberg package
Search all R packages, documentation and source code