View source: R/getMetaGenomeAnnotations.R
getMetaGenomeAnnotations | R Documentation |
Retrieve available annotation *.gff files for metagenomes
from NCBI Genbank. NCBI Genbank allows users
to download entire metagenomes and their annotations of several metagenome
projects. This function downloads available metagenomes that can then be
downloaded via getMetaGenomes
.
getMetaGenomeAnnotations(
name,
path = file.path("_ncbi_downloads", "metagenome", "annotations"),
metagenomes.members = dplyr::filter(getMetaGenomeSummary(), organism_name == name &
total_gene_count > 0)
)
name |
metagenome name retrieved by |
path |
a character string specifying the location (a folder)
in which the corresponding metagenome annotations shall be stored.
Default is
|
metagenomes.members |
a tibble with selected assemblies, default: dplyr::filter(getMetaGenomeSummary(), organism_name == name & total_gene_count > 0)). This is different to getMetaGenome since it requires a gff to exist, most genbank assemblies are .gbff files only, which are usually not useful. |
Hajk-Georg Drost
getMetaGenomes
, listMetaGenomes
,
getGFF
## Not run:
# Frist, retrieve a list of available metagenomes
listMetaGenomes()
# Now, retrieve the 'human gut metagenome'
getMetaGenomeAnnotations(name = "human gut metagenome")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.