Learn R Programming

TCIApathfinder (version 1.0.6)

get_modality_names: Get modality names

Description

Get modality names

Usage

get_modality_names(collection = NULL, body_part = NULL)

Arguments

collection

TCIA collection name. If collection is NULL, modality names from all collections will be returned. To get a list of available collection names, call get_collection_names.

body_part

Body part name. If body_part is NULL, modality names for all body parts will be returned. To get a list of available body part names, call get_body_part_names.

Value

List containing elements:

  • modalities: character vector of modality names

  • content: parsed API response content

  • response: API response

See Also

get_collection_names, get_body_part_names, TCIA REST API Usage Guide, TCIA API object definitions

Examples

Run this code
# NOT RUN {
get_modality_names()
get_modality_names(collection = "TCGA-BRCA")
get_modality_names(body_part = "BREAST")
get_modality_names(collection = "TCGA-BRCA", body_part = "BREAST")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab