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

.clean_chainR Documentation

Tidy C++ outputs before writing to disk.

Description

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

Usage

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

Arguments

out

List returned by cluster() or deconvolve().

method

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

Value

List with standardized parameters


edward130603/BayesSpace documentation built on Oct. 23, 2024, 7:04 a.m.