HWAlrPlot | R Documentation |
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.
HWAlrPlot(X, zeroadj = 0.5)
X |
A matrix of genotype counts (columns AA, AB, BB) |
zeroadj |
Zero-adjustment parameter. Zero counts in the count
matrix are substituted by |
NULL
Jan Graffelman (jan.graffelman@upc.edu)
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
HWClrPlot,HWIlrPlot
X <- HWClo(HWData(100,100))
HWAlrPlot(X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.