plot_manhattan_gwas | R Documentation |
Display a manhattan plot. Only the variants related to the traits given as parameter will be displayed. The two horizontal lines on the plot correspond to the "suggestive" and "significant" thresholds in genome wide studies.
plot_manhattan_gwas(traits, gwas_cat, list_chr)
traits |
a vector with the trait of interest (as characters). The list
of available traits can be obtained with |
gwas_cat |
a gwaswloc object obtained from |
list_chr |
(optional) a list of chromosome to plot. (format: "chr1-22-X-Y) |
nothing (just display the plot)
Lander E, Kruglyak L. Genetic dissection of complex traits: guidelines for interpreting and reporting linkage results. Nat Genet. 1995;11(3):241-7.
gwas_cat <- create_gwas()
plot_manhattan_gwas(gwas_cat = gwas_cat, traits = c("Type 1 diabetes", "Type 2 diabetes"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.