metacoder (version 0.2.1)

get_taxmap_table: Get a table from a taxmap object

Description

Get a table from a taxmap object and complain if it does not exist. This is intended to be used to parse options in other functions.

Usage

get_taxmap_table(obj, dataset)

Arguments

obj

A taxmap object

dataset

Which data set to use. Can be any of the following:

Name

The name of the data set to use.

Index

The index of the data set to use.

TRUE/FALSE vector

A TRUE/FALSE vector the same length as the number of datasets, with exactly one TRUE corresponding to the selected data set.

Value

A table

See Also

Other option parsers: get_taxmap_cols, get_taxmap_data, get_taxmap_other_cols, verify_taxmap