--- title: "Querying OncoTree" output: BiocStyle::html_document: toc: true vignette: > %\VignetteIndexEntry{Querying OncoTree} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8} --- ```{r setup-options, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ``` # Introduction OncoTree is a standardized classification system used in cancer research and clinical practice to categorize different types of cancer based on their tissue of origin, molecular characteristics, and other relevant factors. Developed by Memorial Sloan Kettering Cancer Center (MSK), OncoTree provides a hierarchical framework that organizes cancer types into a structured tree-like diagram. - provides a standardized classification system for categorizing different types of cancer based on their tissue of origin, molecular characteristics, and other relevant factors. - provides a hierarchical framework that organizes cancer types into a structured tree-like diagram. - useful for ensuring consistency in how cancer types are classified and reported across different studies and clinical settings. ## Licensing OncoTree is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source: https://github.com/cBioPortal/oncotree # Setup ```{r setup} library(AnnotationGx) ``` # Querying OncoTree 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. ```{r oncotree-versions} getOncotreeVersions() ``` ## Main cancer types `getOncotreeMainTypes()` retrieves the main cancer types in OncoTree. ```{r main-cancer-types} getOncotreeMainTypes() ``` ## Tumor types `getOncotreeTumorTypes()` retrieves the tumor types in OncoTree. ```{r cancer-subtypes} getOncotreeTumorTypes() ``` ```{r session-info} sessionInfo() ```