dot-clean_chain: Tidy C++ outputs before writing to disk.

Description Usage Arguments Value

Description

1) Convert each parameter to matrix (n_iterations x n_indices) 2) Add appropriate colnames 3) Thin evenly (for enhance)

Usage

1
.clean_chain(out, method = c("cluster", "enhance"), thin = 100)

Arguments

out

List returned by cluster() or deconvolve().

method

Whether the output came from clustering or enhancement. (Different params are included in each.)

thin

Thinning rate. Some enhanced parameters are thinned within C++ loop, others (mu and Ychange) need to be thinned afterwards.

Value

List with standardized parameters


BayesSpace documentation built on Nov. 8, 2020, 8:03 p.m.