get_samples: Return samples from a mash object

Description Usage Arguments Examples

View source: R/get_functions.R

Description

Return samples from a mash object

Usage

1

Arguments

m

The mash fit.

Examples

1
2
3
4
simdata = simple_sims(50,5,1)
data = mash_set_data(simdata$Bhat, simdata$Shat)
m = mash(data, cov_canonical(data), posterior_samples=5, algorithm='R')
get_samples(m)

mashr documentation built on May 24, 2021, 1:06 a.m.