View source: R/bGWAS_classFunctions.R
manhattan_plot_bGWAS | R Documentation |
Creates a Manhattan Plot from bGWAS results (for performance, only SNPs with p-value or FDR < 0.05 are plotted)
manhattan_plot_bGWAS(
obj,
save_file = F,
file_name = NULL,
annotate = T,
SNPs = NULL,
results = "BF"
)
obj |
an object of class bGWAS created using |
save_file |
A logical indicating if the graphic should be saved,
|
file_name |
The name of the file saved (is |
annotate |
A logical indicating if the significant SNPs identified in the
analysis should be annotated on the plot, |
SNPs |
A data.frame containing the SNPs (rsid) to annotate in the first column, and
optionnally the text that should be plotted in the second column, and the color
in the third column, |
results, |
"BF" / "posterior" / "direct", |
If results = "BF"
, BF p-values / fdr-values will be used.
If results = "direct"
, direct effect p-values / fdr-values will be used.
If results = "posterior"
, posterior effect p-values / fdr-values will be used.
a Manhattan Plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.