Retrieve available groups for a kingdom of life (only available for NCBI RefSeq and NCBI Genbank) — getGroups • biomartr
Description: A short list of available groups for a kingdom of life.

# 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.

    getGroups(db = "refseq", kingdom)

## 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.

## See also

`meta.retrieval`, `getGenome`, `getProteome`, `getCDS`, `getKingdoms`

## Author

Hajk-Georg Drost

## Examples

    # get possible kigdom names
    getKingdoms(db = "refseq")
    #> [1] "archaea"              "bacteria"             "fungi"
    #> [4] "invertebrate"         "plant"                "protozoa"
    #> [7] "vertebrate_mammalian" "vertebrate_other"     "viral"
    if (FALSE) {
    # 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")
    }