mash_plot_meta: Plot metaplot for an effect based on posterior from mash

View source: R/plots.R

mash_plot_metaR Documentation

Plot metaplot for an effect based on posterior from mash

Description

Plot metaplot for an effect based on posterior from mash

Usage

mash_plot_meta(m, i, xlab = "Effect size", ylab = "Condition", ...)

Arguments

m

the result of a mash fit

i

index of the effect to plot

xlab

Character string specifying x-axis label.

ylab

Character string specifying y-axis label.

...

Additional arguments passed to metaplot.

Examples

simdata = simple_sims(50,5,1)
data = mash_set_data(simdata$Bhat, simdata$Shat)
m = mash(data, cov_canonical(data))
mash_plot_meta(m,1)


mashr documentation built on Oct. 18, 2023, 5:08 p.m.