Learn R Programming

pcadapt (version 1.0)

manhattanPlot: Manhattan Plot

Description

manhattanPlot displays a Manhattan plot which represents the p-values for each SNP for a particular principal component (or set of principal components in the communality test case).

Usage

manhattanPlot(x, K, alpha)

Arguments

x
an object of class "outlier" generated with outlier containing the p-values of interest.
alpha
a real number between 0 et 1.

Examples

Run this code
## see ?pcadapt for examples

Run the code above in your browser using DataLab