Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


pcadapt (version 4.4.0)

manhattan_plot: Manhattan Plot

Description

manhattan_plot displays a Manhattan plot which represents the p-values for each SNP for a particular test statistic.

Usage

manhattan_plot(x, chr.info, snp.info, plt.pkg = "ggplot", K = 1)

Arguments

x

an object of class "pcadapt" generated with pcadapt containing the p-values of interest.

chr.info

a list containing the chromosome information for each marker.

snp.info

a list containing the names of all genetic markers present in the input.

plt.pkg

a character string specifying the package to be used to display the graphical outputs. Use "plotly" for interactive plots, or "ggplot" for static plots.

K

an integer specifying which principal component to display when method="componentwise".