Learn R Programming

cbioportalR (version 1.1.0)

.get_clinical_pat_by_list_item: Get clinical data by attribute, study ID and patient ID

Description

Get clinical data by attribute, study ID and patient ID

Usage

.get_clinical_pat_by_list_item(
  study_id = NULL,
  patient_id = NULL,
  clinical_attribute = NULL,
  base_url = NULL
)

Value

a dataframe of a specific clinical attribute

Arguments

study_id

A string indicating the study ID from which to pull data. If no study ID, will guess the study ID based on your URL and inform. Only 1 study ID can be passed. If mutations/cna from more than 1 study needed, see sample_study_pairs

patient_id

a cBioPortal patient_id

clinical_attribute

one or more clinical attributes for your study. If none provided, will return all attributes available for studies

base_url

The database URL to query If NULL will default to URL set with set_cbioportal_db(<your_db>)

Examples

Run this code
if (FALSE) {
.get_clinical_pat_by_list_item(study_id = "msk_impact_2017",
 patient_id = "P-0001453",
  base_url = 'www.cbioportal.org/api')
  }

Run the code above in your browser using DataLab