embed_posteriors: Embeds posterior samples using MDS and a pre-calculated...

Description Usage Arguments Details Examples

View source: R/posterior_analyses.R

Description

Embeds posterior samples using MDS and a pre-calculated distance matrix

Usage

1
2
3
4
5
6
embed_posteriors(
  tax_level = "ASV",
  which_measure = "Sigma",
  MAP = FALSE,
  spike_in = FALSE
)

Arguments

tax_level

taxonomic level at which to agglomerate data

which_measure

estimated object to embed, either Lambda or Sigma

MAP

use MAP estimate model output instead of full posterior output

spike_in

copy and permute the samples and calculate distances to these too, so as to give upper bound on distances

Details

Distance matrix between posterior samples must be present in designated output directory

Examples

1
embed_posteriors(tax_level="ASV", which_measure="Sigma", MAP=FALSE)

kimberlyroche/ROL documentation built on Dec. 10, 2020, 2:18 a.m.