modelAssessment: Model assessment for LDA based on the maximum abundance for...

Description Usage Arguments Value

View source: R/modelAssessment.R

Description

Model assessment for LDA based on the maximum abundance for each taxon.

Usage

1
2
3
4
5
6
modelAssessment(
  ps,
  stan.fit,
  iterUse = 1000,
  ASVsIndexToPlot = c(1, 3, 10:14, 19:26, 36, 51:53, 148)
)

Arguments

ps

phyloseq object.

stan.fit

An instance of stanfit.

iterUse

integer. number of iterations used in each chain after subtracting warm-up samples.

ASVsIndexToPlot

An integer vector. Use to select ASVs to show the goodness of fit in histograms.

Value

A ggplot2 object. Histogram of data generated from the posterior estimates and the observed data.


PratheepaJ/diffTop documentation built on Dec. 18, 2021, 7:48 a.m.