bd_retrieve: Retrieve (a) Dataset(s) from BacDive

View source: R/bd_retrieve.R

bd_retrieveR Documentation

Retrieve (a) Dataset(s) from BacDive

Description

Retrieve (a) Dataset(s) from BacDive

Usage

bd_retrieve(id)

bd_retrieve_by_culture(collection_no)

bd_retrieve_by_sequence(accession)

bd_retrieve_taxon(name)

Arguments

id

Mandatory character string or integer. The BacDive strain ID whose data you want to retrieve.

collection_no

Mandatory character string. A culture collection number by which the associated dataset(s) will be retrieved.

accession

Mandatory character string. A sequence accession number by which the associated dataset(s) will be retrieved.

name

Mandatory character string, specifying the taxon. Abbreviations like "B. halotolerans" are not allowed!

Value

A (large) list containing either a single BacDive dataset in case your parameter / search was unambiguous, or if ambiguous: all matching datasets. Read BacDive.DSMZ.de/api/bacdive to learn more.

Examples

dataset_717 <- bd_retrieve(id = 717)
dataset_717 <- bd_retrieve(id = "717")
dataset_DSM_319 <- bd_retrieve_by_culture(collection_no = "DSM 319")
dataset_AJ000733 <- bd_retrieve_by_sequence(accession = "AJ000733")
datasets_Bh <- bd_retrieve_taxon(name = "Bacillus halotolerans")
datasets_Thh <- bd_retrieve_taxon(name = "Tetragenococcus halophilus halophilus")

TIBHannover/BacDiveR documentation built on June 2, 2022, 2:51 p.m.