read_ontology_mappings | R Documentation |
Reads ‘ontology_mappings.txt' from OncoTree’s GitHub repository and returns its contents as a tibble.
read_ontology_mappings( url = ontology_mapping_url(), fix_names = TRUE, list_columns = TRUE )
url |
URL of 'ontology_mappings.txt'. |
fix_names |
Whether to convert column names to lowercase, snakecase. |
list_columns |
Whether to return multi-value variables as list-columns. |
A [tibble][tibble::tibble-package] of six variables:
OncoTree code.
National Cancer Institute (NCI) Thesaurus code.
Unified Medical Language System (UMLS) code.
ICD-O topography code.
ICD-O morphology code.
HemeOnc code.
## Not run: # Import ontology_mappings.txt as tibble read_ontology_mappings() # Do not convert column names, i.e. keep them as originally in the file read_ontology_mappings(fix_names = FALSE) # Keep multi-value columns as originally, i.e. as comma-separated values read_ontology_mappings(list_columns = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.