abundance: abundance

Description Usage Arguments Details Value Examples

Description

abundance generates an abundance table. This table can be either weighted or unweighted.

Usage

1
abundance(object, ...)

Arguments

object

An OTUset or a TAXset object

...

Additional arguments. These will depend on if the object is an OTUset or a TAXset object.

Details

These are other arguments passed to abundance

Value

The returned value will be a data.frame.

Examples

1
2
3
4
5
6
7
8
## locate directory with data
dirPath <- system.file("extdata/Sogin_2006", package="OTUbase")

## read in data into OTUset object
soginOTU <- readOTUset(dirPath=dirPath, level="0.03", samplefile="sogin.groups", fastafile="sogin.fasta", otufile="sogin.unique.filter.fn.list", sampleADF="sample_metadata.txt")

## calculate abundance
abundance(soginOTU, collab="Site")

OTUbase documentation built on Nov. 8, 2020, 8:24 p.m.