Description Usage Arguments Value
View source: R/AnalysisAssociationVisFunctions.R
This function allows for quick generation of a Manhattan plot from rTASSEL association statistical output data.
1 2 | manhattanPlot(assocStats, trait, threshold, colors = c("#91baff",
"#3e619b"), showSigMarkers = FALSE)
|
assocStats |
rTASSEL association statistical output. This output is
derived from association output dat frames ending in |
trait |
Which phenotypic trait do you want to plot? |
threshold |
User-defined p-value threshold for significant marker determination. Once specified any marker points higher than this line will be highlighted. |
colors |
A vector of colors used for differentiating multiple chromosomes. Defaults to 2 shades of blue. |
showSigMarkers |
Should significantly highlighted markers be labelled?
If |
Returns a ggplot2
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.