AnnotationGx provides a set of functions for querying OncoTree to retrieve
three types of information:
- OncoTree release versions
- Main cancer types
- Tumor types
OncoTree release versions
The getOncotreeVersions function retrieves the available OncoTree release.
getOncotreeVersions()
#> api_identifier
#> <char>
#> 1: oncotree_latest_stable
#> 2: oncotree_2026_11_20
#> 3: oncotree_2025_10_03
#> 4: oncotree_2025_04_08
#> 5: oncotree_development
#> 6: oncotree_candidate_release
#> 7: oncotree_2021_11_02
#> 8: oncotree_2020_10_01
#> 9: oncotree_2020_04_01
#> 10: oncotree_2020_02_06
#> 11: oncotree_2020_02_01
#> 12: oncotree_2019_12_01
#> 13: oncotree_2019_08_01
#> 14: oncotree_2019_05_01
#> 15: oncotree_2019_03_01
#> 16: oncotree_2019_02_01
#> 17: oncotree_2018_11_01
#> 18: oncotree_2018_09_01
#> 19: oncotree_2018_08_01
#> 20: oncotree_2018_07_01
#> 21: oncotree_2018_06_15
#> 22: oncotree_2018_06_01
#> 23: oncotree_2018_05_01
#> 24: oncotree_2018_04_01
#> 25: oncotree_2018_03_01
#> 26: oncotree_2018_02_01
#> 27: oncotree_2018_01_01
#> 28: oncotree_2017_11_01
#> 29: oncotree_2017_10_05
#> 30: oncotree_2017_06_21
#> 31: oncotree_legacy_1.1
#> api_identifier
#> <char>
#> description
#> <char>
#> 1: This is the latest approved version for public use.
#> 2: Stable OncoTree released on date 2026-11-20
#> 3: Stable OncoTree released on date 2025-10-03
#> 4: Stable OncoTree released on date 2025-04-08
#> 5: Latest OncoTree under development (subject to <b class=text-danger>change without notice</b>)
#> 6: This version of the OncoTree reflects upcoming changes which have been approved for the next public release of oncotree. It also includes a small number of nodes which will not be included in the next public release (see the news page for more details). The next public release may possibly include additional oncotree nodes, if approved.
#> 7: Stable OncoTree released on date 2021-11-02
#> 8: Stable OncoTree released on date 2020-10-01
#> 9: Stable OncoTree released on date 2020-04-01
#> 10: Stable OncoTree released on date 2020-02-06
#> 11: Stable OncoTree released on date 2020-02-01
#> 12: Stable OncoTree released on date 2019-12-01
#> 13: Stable OncoTree released on date 2019-08-01
#> 14: Stable OncoTree released on date 2019-05-01
#> 15: Stable OncoTree released on date 2019-03-01
#> 16: Stable OncoTree released on date 2019-02-01
#> 17: Stable OncoTree released on date 2018-11-01
#> 18: Stable OncoTree released on date 2018-09-01
#> 19: Stable OncoTree released on date 2018-08-01
#> 20: Stable OncoTree released on date 2018-07-01
#> 21: Stable OncoTree released on date 2018-06-15
#> 22: Stable OncoTree released on date 2018-06-01
#> 23: Stable OncoTree released on date 2018-05-01
#> 24: Stable OncoTree released on date 2018-04-01
#> 25: Stable OncoTree released on date 2018-03-01
#> 26: Stable OncoTree released on date 2018-02-01
#> 27: Stable OncoTree released on date 2018-01-01
#> 28: Stable OncoTree released on date 2017-11-01
#> 29: Stable OncoTree released on date 2017-10-05
#> 30: Stable OncoTree released on date 2017-06-21
#> 31: This is the closest match in TopBraid for the TumorTypes_txt file associated with release 1.1 of OncoTree (approved by committee)
#> description
#> <char>
#> release_date visible
#> <char> <lgcl>
#> 1: 2026-11-20 TRUE
#> 2: 2026-11-20 FALSE
#> 3: 2025-10-03 FALSE
#> 4: 2025-04-08 FALSE
#> 5: 2021-11-04 TRUE
#> 6: 2021-11-03 TRUE
#> 7: 2021-11-02 FALSE
#> 8: 2020-10-01 FALSE
#> 9: 2020-04-01 FALSE
#> 10: 2020-02-06 FALSE
#> 11: 2020-02-01 FALSE
#> 12: 2019-12-01 FALSE
#> 13: 2019-08-01 FALSE
#> 14: 2019-05-01 FALSE
#> 15: 2019-03-01 FALSE
#> 16: 2019-02-01 FALSE
#> 17: 2018-11-01 FALSE
#> 18: 2018-09-01 FALSE
#> 19: 2018-08-01 FALSE
#> 20: 2018-07-01 FALSE
#> 21: 2018-06-15 FALSE
#> 22: 2018-06-01 FALSE
#> 23: 2018-05-01 FALSE
#> 24: 2018-04-01 FALSE
#> 25: 2018-03-01 FALSE
#> 26: 2018-02-01 FALSE
#> 27: 2018-01-01 FALSE
#> 28: 2017-11-01 FALSE
#> 29: 2017-10-05 FALSE
#> 30: 2017-06-21 FALSE
#> 31: 2016-03-28 FALSE
#> release_date visible
#> <char> <lgcl>
Main cancer types
getOncotreeMainTypes() retrieves the main cancer types in OncoTree.
getOncotreeMainTypes()
#> mainType
#> <char>
#> 1: Adenocarcinoma In Situ
#> 2: Adenocarcinoma in Retrorectal Cystic Hamartoma
#> 3: Adrenal Gland Cancer
#> 4: Adrenocortical Adenoma
#> 5: Adrenocortical Carcinoma
#> ---
#> 115: Uterine Sarcoma
#> 116: Vaginal Cancer
#> 117: Vulvar Carcinoma
#> 118: Vulvar/Vaginal Cancer
#> 119: Wilms Tumor
Tumor types
getOncotreeTumorTypes() retrieves the tumor types in OncoTree.
getOncotreeTumorTypes()
#> code color
#> <char> <char>
#> 1: BOWEL SaddleBrown
#> 2: BREAST HotPink
#> 3: LYMPH LimeGreen
#> 4: OVARY LightBlue
#> 5: UTERUS PeachPuff
#> ---
#> 894: LYP LimeGreen
#> 895: PCALCL LimeGreen
#> 896: BIALCL LimeGreen
#> 897: ALCLALKN LimeGreen
#> 898: ALCLALKP LimeGreen
#> name
#> <char>
#> 1: Bowel
#> 2: Breast
#> 3: Lymphoid
#> 4: Ovary/Fallopian Tube
#> 5: Uterus
#> ---
#> 894: Lymphomatoid Papulosis
#> 895: Primary Cutaneous Anaplastic Large Cell Lymphoma
#> 896: Breast Implant-Associated Anaplastic Large-Cell Lymphoma
#> 897: Anaplastic Large-Cell Lymphoma ALK Negative
#> 898: Anaplastic Large-Cell Lymphoma ALK Positive
#> mainType externalReferences tissue
#> <char> <list> <list>
#> 1: Bowel Cancer C0021853 C12736
#> 2: Breast Cancer C0006141 C12971
#> 3: Lymphatic Cancer C0024202 C13252
#> 4: Ovarian/Fallopian Tube Cancer C0029939 C12404
#> 5: Uterine Cancer C0042149 C12405
#> ---
#> 894: Mature T and NK Neoplasms C0206182 C3721
#> 895: Mature T and NK Neoplasms C1301362 C6860
#> 896: Mature T and NK Neoplasms C4528210 C139012
#> 897: Mature T and NK Neoplasms C1332078 C37194
#> 898: Mature T and NK Neoplasms C1332079 C37193
#> children parent history level revocations precursors
#> <char> <char> <list> <int> <list> <list>
#> 1: Bowel TISSUE <list[0]> 1 <list[0]>
#> 2: Breast TISSUE <list[0]> 1 <list[0]>
#> 3: Lymphoid TISSUE <list[0]> 1 <list[0]>
#> 4: Ovary/Fallopian Tube TISSUE <list[0]> 1 <list[0]>
#> 5: Uterus TISSUE <list[0]> 1 <list[0]>
#> ---
#> 894: Lymphoid PCLPD <list[0]> 6 <list[0]>
#> 895: Lymphoid PCLPD <list[0]> 6 <list[0]>
#> 896: Lymphoid ALCL <list[0]> 6 <list[0]>
#> 897: Lymphoid ALCL <list[0]> 6 <list[0]>
#> 898: Lymphoid ALCL <list[0]> 6 <list[0]>
sessionInfo()
#> R Under development (unstable) (2026-11-13 r90887)
#> Platform: x86_64-pc-linux-gnu
#> Running under: Ubuntu 26.04.1 LTS
#>
#> Matrix products: default
#> BLAS: /home/biocbuild/bbs-3.25-bioc/R/lib/libRblas.so
#> LAPACK: /home/biocbuild/bbs-3.25-bioc/R/lib/libRlapack.so; LAPACK version 3.12.1
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_GB LC_COLLATE=C
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: America/New_York
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] data.table_1.18.6.1 AnnotationGx_1.1.0 BiocStyle_2.43.0
#>
#> loaded via a namespace (and not attached):
#> [1] bit_4.6.0 jsonlite_2.0.0 crayon_1.5.3
#> [4] dplyr_1.2.1 compiler_4.7.0 BiocManager_1.30.27
#> [7] filelock_1.0.3 tidyselect_1.2.1 blob_1.3.0
#> [10] parallel_4.7.0 jquerylib_0.1.4 yaml_2.3.12
#> [13] fastmap_1.2.0 R6_2.6.1 generics_0.1.4
#> [16] curl_8.2.0 httr2_1.3.0 knitr_1.52
#> [19] backports_1.5.1 checkmate_2.3.4 tibble_3.3.1
#> [22] bookdown_0.48 DBI_1.3.0 bslib_0.12.0
#> [25] pillar_1.11.1 rlang_1.3.0 cachem_1.1.0
#> [28] xfun_0.62 sass_0.5.0 bit64_4.8.6
#> [31] otel_0.3.0 RSQLite_3.53.3 memoise_2.0.1
#> [34] cli_3.6.6 withr_3.0.3 magrittr_2.0.5
#> [37] digest_0.6.39 dbplyr_2.6.0 lifecycle_1.0.5
#> [40] BiocFileCache_3.5.0 vctrs_0.7.3 evaluate_1.0.5
#> [43] glue_1.8.1 purrr_1.2.2 rmarkdown_2.32
#> [46] tools_4.7.0 pkgconfig_2.0.3 htmltools_0.5.9