taxa: Access proxy taxonomic data

Description Usage Arguments Details Value Author(s) Examples

Description

Extracts taxa from download objects and returns them in a useful format.

Usage

1
2
3
4
5
6
7
8
taxa(obj, ...)

## S3 method for class 'download'
taxa(obj, ...)

## S3 method for class 'download_list'
taxa(obj, collapse = TRUE, hierarchy = FALSE,
  ...)

Arguments

obj

an R object from which counts are to be extracted.

...

arguments passed to other methods.

collapse

should the results be returned as a list, one for each site (FALSE), or a single dataframe of all taxa? Default is TRUE

hierarchy

Should the taxonomic hierarchy be included?

Details

Methods are available for "download" and "download_list" objects.

Value

Either a data frame of taxa or a list of such objects.

Author(s)

Simon Goring

Examples

1
2
3
4
5
6
7
## Not run: 
ostracodes <- get_dataset(datasettype = 'ostracode')

ostro.dl <- get_download(ostracodes)
ostro.taxa <- taxa(ostro.dl)

## End(Not run)

neotoma documentation built on May 2, 2019, 1:10 p.m.