Description Usage Arguments Value
View source: R/plot_gemma_lmm.R
Plot the GWAS results as a Manhattan plot and highlight specific genes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
results_file |
A GEMMA results file |
name |
The title |
metasoft |
set TRUE if the input is metaSOFT output |
pyLMM |
TRUE if the input is pyLMM output with rs ID in the first column SNP_ID |
annotations |
If metasoft is TRUE then annoattions file should be given |
namethr |
Print gene name above this threshold |
redthr |
Red points above this thr |
diff |
A file with results to be subtracted from the first file. Must be in the same format, only implemented for GEMMA |
genotypes |
The genotypes of the input strains to compute correlation. If given (as data.frame with row.names) every peak will be colored |
maxdist |
maximal distance between peak and related SNPs |
corrthr |
r-square threshold to consider SNPs in the same peak, combined with maxdist |
test |
Name of test to use |
addgenes |
A boolean. Add gene names or not |
annot |
Genes table, optional. If NULL pull from biomaRt |
An object with the plot object, (plot), The GWAS results (gwas) and the plotted object (pwas)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.