Retrieve metagenomes from NCBI Genbank — getMetaGenomes • biomartr
Description: Retrieve available metagenomes from NCBI Genbank. NCBI Genbank allows users to download entire metagenomes of several metagenome projects. This function downloads available metagenomes that can then be downloaded via getMetaGenomes.

# Retrieve metagenomes from NCBI Genbank

Source: `R/getMetaGenomes.R`
`getMetaGenomes.Rd`

Retrieve available metagenomes from NCBI Genbank. NCBI Genbank allows users to download entire metagenomes of several metagenome projects. This function downloads available metagenomes that can then be downloaded via `getMetaGenomes`.

    getMetaGenomes(name, path = file.path("_ncbi_downloads", "metagenome"))

## Arguments

name

  metagenome name retrieved by `listMetaGenomes`.

path

  a character string specifying the location (a folder) in which the corresponding metagenome shall be stored. Default is `path` = `file.path("_ncbi_downloads","metagenome")`.

## See also

`getMetaGenomeAnnotations`, `listMetaGenomes`

## Author

Hajk-Georg Drost

## Examples

    if (FALSE) {
    # Frist, retrieve a list of available metagenomes
    listMetaGenomes()

    # Now, retrieve the 'human gut metagenome'
    getMetaGenomes(name = "human gut metagenome")
    }