Quickly get the size of the sets in the Gesel database. This is more efficient than fetchAllSets when only the sizes are of interest.

fetchSetSizes(species, config = NULL)

Arguments

species

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

config

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

Value

Integer vector containing the size of each set (i.e., the number of gene sets).

Author

Aaron Lun

Examples

head(fetchSetSizes("9606"))
#> [1] 11  4  2  2 10  9