get_samples: Return samples from a mash object

View source: R/get_functions.R

get_samplesR Documentation

Return samples from a mash object

Description

Return samples from a mash object

Usage

get_samples(m)

Arguments

m

The mash fit.

Examples

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 Oct. 18, 2023, 5:08 p.m.