mash_plot_covar: ggplot of covariance matrix masses

Description Usage Arguments Note

View source: R/pvdiv_mash_results.R

Description

Creates a bar plot using ggplot of the masses that are on each covariance matrix specified in the mash model.

Usage

1
mash_plot_covar(m, saveoutput = FALSE, suffix = "")

Arguments

m

An object of type mash

saveoutput

Logical. Should the output be saved to the path?

suffix

Character. Optional. A unique suffix used to save the files, instead of the current date & time.

Note

This plot can be useful for seeing the overall patterns of effects in the data used in mash. Non-significant effects will add mass to the "no_effects" covariance matrix, while significant effects will add mass to one of the other covariance matrices. You can use mash_plot_Ulist() to plot the covariance matrix patterns themselves.


Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.