get_taxmap_table: Get a table from a taxmap object

View source: R/option_parsers.R

get_taxmap_tableR Documentation

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, data)

Arguments

obj

A taxmap object

data

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()


metacoder documentation built on April 4, 2023, 9:08 a.m.