Fetch the details of some gene set collections from the Gesel database. This can be more efficient than fetchAllCollections when only a few collections are of interest.

fetchSomeCollections(species, collections, config = NULL)

Arguments

species

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

collections

Integer vector containing collection indices. Each entry refers to a row of the data frame returned by fetchAllCollections).

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 fetchAllCollections, where each row corresponds to an entry of collections.

Author

Aaron Lun

Examples

fetchSomeCollections("9606", 1)
#>           title
#> 1 Gene ontology
#>                                                                                                                 description
#> 1 Gene sets defined from the Gene Ontology (version 2022-07-01), sourced from the Bioconductor package org.Hs.eg.db 3.16.0.
#>   maintainer
#> 1  Aaron Lun
#>                                                                         source
#> 1 https://github.com/LTLA/gesel-feedstock/blob/gene-ontology-v1.0.0/go/build.R
#>   start  size
#> 1     1 18933