P-value Histogram for STOAT GWAS Results
plot_pvalue_hist.RdGenerate histogram of P-values from STOAT GWAS results TSV.
Arguments
- gwas_file
Path to the output stoat GWAS TSV file.
- p_column
Column name to use for p-values (default: ""). If empty, will use "P" or "P_CHI2" if available.
- min
Minimun P-value threshold to include in the plot (default: 0).
- max
Maximum P-value threshold to include in the plot (default: 1.0).
- bins
Number of bins in the histogram (default: 200).
- output
Filename to save the output plot (default: "pvalue_distribution_plot.png").