Description Usage Arguments Details Value
Function to create manhattanplot. Uses package EasyStrata - need to write 2 files: results flat text (with appropriate columns), and .ecf file which contains EasyStrata parameters.
1 2 3 4 5 6 7 8 9 | create_manhattanplot(
x,
exposure,
stat,
annotation_file,
output_dir,
filename_suffix = "",
sig_line = NA
)
|
exposure |
Exposure variable (string) |
stat |
GxEScan results chi-square statistic |
annotation_file |
File to be used for annotation. Should located in /media/work/tmp |
filename_suffix |
For convenience when you're creating test plots |
dat |
Input data |
df |
Degrees of freedom |
NOTE: using hardcoded paths to store temporary results text files, and to read annotation file. Be careful!
10/26/2020 - this might need further adjustment.. if subset analysis finds significant results, I need to output them into a data.frame
Writes a .png file into location /media/work/gwis/posthoc/exposure
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.