Fetch the details of some gene sets from the Gesel database. This can be more efficient than calling fetchAllSets when only a few sets are of interest.

fetchSomeSets(species, sets, config = NULL)

Arguments

species

String containing the NCBI taxonomy ID of the species of interest.

sets

Integer vector of set indices, where each set index refers to a row in the data frame returned by fetchAllSets.

config

Configuration list, typically created by newConfig. If NULL, the default configuration is used.

Value

Data frame with the same columns as the return value of fetchAllSets, where each row corresponds to an entry of sets.

Author

Aaron Lun

Examples

fetchSomeSets("9606", 1)
#>         name                      description size collection number
#> 1 GO:0000002 mitochondrial genome maintenance   11          1      1