pime.prevalence: Prevalences intervals

Description Usage Arguments Value Examples

View source: R/pime.prevalence.R

Description

This function takes the output of pime.split.by.variable. It estimates the highest prevalence possible (no empty OTU/ASV table), calculates prevalence for taxa, starting at 5 maximum prevalence possible (no empty OTU table or dropping samples). After prevalence calculation, each prevalence interval are merged.

Usage

1
pime.prevalence(phylist)

Arguments

phylist

Input, takes a list of phyloseq objects (one for each variable), output from pime.split.by.variable

Value

A list with a phyloseq object (OTU/ASV and metadata table) per prevalence interval.

Examples

1
2
phylist=pime.split.by.variable(restroom, "Environment")
prev=pime.prevalence(phylist)

microEcology/pime documentation built on Nov. 13, 2019, 11:16 p.m.