mash_plot_sig_by_condition.Rd
For some number of columns in a mash object that correspond to conditions, find the number of SNPs that are significant for that number of conditions.
mash_plot_sig_by_condition(
m,
conditions = NA,
saveoutput = FALSE,
suffix = "",
thresh = 0.05
)
An object of type mash
A vector of conditions. Get these with get_colnames(m).
Logical. Save plot output to a file? Default is FALSE.
Character. Optional. A unique suffix used to save the files, instead of the current date & time.
What is the threshold to call an effect significant? Default is 0.05.
A list containing a dataframe of the number of SNPs significant per number of conditions, and a ggplot object using that dataframe.
if (FALSE) mash_plot_sig_by_condition(m = mash_obj, saveoutput = TRUE)