Description Usage Arguments Value Examples
View source: R/pvdiv_mash_results.R
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.
1 2 3 4 5 6 7 | mash_plot_sig_by_condition(
m,
conditions = NA,
saveoutput = FALSE,
suffix = "",
thresh = 0.05
)
|
m |
An object of type mash |
conditions |
A vector of conditions. Get these with get_colnames(m). |
saveoutput |
Logical. Save plot output to a file? Default is FALSE. |
suffix |
Character. Optional. A unique suffix used to save the files, instead of the current date & time. |
thresh |
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.
1 | ## Not run: mash_plot_sig_by_condition(m = mash_obj, saveoutput = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.