Description Usage Arguments Value
View source: R/functions_for_RGWAS.R
Draw the effects of epistasis (3d plot and 2d plot)
1 2 3 4 5 6 7 8 9 |
input |
Data frame of GWAS results where the first column is the marker names, the second and third column is the chromosome amd map position, and the forth column is -log10(p) for each marker. |
cum.pos |
Cumulative position (over chromosomes) of each marker |
plot.epi.3d |
If TRUE, draw 3d plot |
plot.epi.2d |
If TRUE, draw 2d plot |
main.epi.3d |
The title of 3d plot. If this argument is NULL, trait name is set as the title. |
main.epi.2d |
The title of 2d plot. If this argument is NULL, trait name is set as the title. |
saveName |
When drawing any plot, you can save plots in png format. In saveName, you should substitute the name you want to save. When saveAt = NULL, the plot is not saved. |
Draw 3d plot and 2d plot to show epistatic effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.