plot_posterior_predictive: Plot posterior predictive intervals of Eta (denoised ALR...

Description Usage Arguments Details Examples

View source: R/posterior_analyses.R

Description

Plot posterior predictive intervals of Eta (denoised ALR abundances) over observed time series for designated host

Usage

1
2
3
4
5
6
7
8
9
plot_posterior_predictive(
  host,
  tax_level = "ASV",
  predict_coords = NULL,
  fit_obj = NULL,
  logratio = "clr",
  show_plot = FALSE,
  plot_label = NULL
)

Arguments

host

host short name (e.g. ACA)

tax_level

taxonomic level at which to agglomerate data

predict_coords

ALR coordinates to visualize prediction intervals over

fit_obj

optional fitted model to provide; if NULL the function checks the output directory

logratio

logratio representation to use (e.g. "alr", "ilr", "clr")

show_plot

show() plot of first 2 principle coordinates (in addition to rendering first 4 PCoA to files)

plot_label

optional label to append to the saved filename

Details

Output are png files of predicted series intervals.

Examples

1
plot_posterior_predictive(host="ZIB", tax_level="ASV", predict_coords=c(1,2,3))

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