Retrieve available groups for a kingdom of life (only available for NCBI RefSeq and NCBI Genbank)
Source:R/getGroups.R
getGroups.Rd
A short list of available groups for a kingdom of life.
Arguments
- db
a character string specifying the database from which the genome shall be retrieved:
db = "refseq"
db = "genbank"
Default is
db = "refseq"
.- kingdom
a character string specifying for which kingdom of life groups shall be retrieved. See
getKingdoms
for details.
Examples
# get possible kigdom names
getKingdoms(db = "refseq")
#> [1] "archaea" "bacteria" "fungi"
#> [4] "invertebrate" "plant" "protozoa"
#> [7] "vertebrate_mammalian" "vertebrate_other" "viral"
if (FALSE) { # \dontrun{
# retrieve subgroups for vertebrate_mammalian available from refseq
getGroups(db = "refseq", kingdom = "vertebrate_mammalian")
# get possible kigdom names
getKingdoms(db = "genbank")
# retrieve subgroups for vertebrate_mammalian available from genbank
getGroups(db = "genbank", kingdom = "vertebrate_mammalian")
} # }