other_functions: Other functions

Description Usage Arguments Details Examples

Description

These are other functions available. Caution is advised when using them. Some are still in development and others only work on specific objects (OTUset or TAXset).

Usage

1
2
3
4
    getOTUs(object, colnum, value, exact)
    getSamples(object, colnum, value, exact)
    o_diversity(object, ...)
    o_estimateR(object, ...)

Arguments

object

An OTUset or a TAXset object.

colnum

The column of the sampleData or assignmentData dataframe that contains the value.

value

The desired value.

exact

If exact=T value must match perfectly. If exact=F value will grep instead of match.

...

Other arguments. Often these are passed to abundance

Details

Examples

1
2
3
4
5
6
7
8
9
## 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")

getSamples(soginOTU, colnum="Site", value="Labrador", exact=FALSE)

o_estimateR(soginOTU)

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