Count the number of descendants of a term
Examples
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /Users/vincentcarey/Library/Caches/org.R-project.R/R/BiocFileCache/40e293b372b_go.db
#> Primary ontology prefix: GO
count_descendants(goref, "GO:0006915") # all apoptosis subtypes
#> [1] 72
disconnect(goref)
#> Disconnected from '40e293b372b_go.db'