Description Usage Arguments Details Value Author(s) Examples
Creates a Manhattan plot
1 2 3 4 5 6 7 8 9 10 11 12 13 |
data |
PLINK assoc output, tab-delimited, or a data.frame with "SNP", "CHR", "BP", and "P" columns. |
chromCol |
A character vector indicating which colors to alternate for the chromosomes. |
genomewideline |
Where to draw the "genome-wide significant" line. Default -log10(5e-8). Set to FALSE or F to disable |
suggestiveline |
Where to draw the "suggestive" line. Default -log10(1e-5). Set to FALSE or F to disable. |
chromosome |
An integer indicating which chromosome to plot. Default is "ALL". |
annotatePval |
If set, SNPs with p-value less than or equal to this p-value will be annotated on the plot. |
annotateSNP |
A character vector of SNPs in your dataset to annotate. If some of the SNPs are not in your dataset, gwaRs will throw a warning message. |
annotateCol |
A string denoting the color to use for the annotations. |
highlight |
A character vector of SNPs in the dataset to highlight. If some of the SNPs are not in your dataset, gwaRs will throw a warning message. Default is NULL. |
highlightCol |
A string denoting the color to use to highlight the SNPs. |
title |
A string denoting the title to use for the plot. Default is 'Manhattan Plot' |
Creates a Manhattan plot from PLINK assoc output (or any tab-delimited file or data frame with "SNP", "CHR", "BP", and "P" columns).
A Manhattan plot.
Lindokuhle Nkambule
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.