Skip to contents

Get Metadata on All Available Studies in Database or a Specified Study

Usage

get_study_info(study_id = NULL, base_url = NULL)

Arguments

study_id

one or more study IDs (see available_studies() to lookup IDs)

base_url

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

Value

A dataframe of study metadata

Examples

# \dontrun{
set_cbioportal_db("public")
#>  You are successfully connected!
#>  base_url for this R session is now set to "www.cbioportal.org/api" 
get_study_info("acc_tcga")
#>                                               name
#> 1 Adrenocortical Carcinoma (TCGA, Firehose Legacy)
#>                                                                                                                                                                                     description
#> 1 TCGA Adrenocortical Carcinoma. Source data from <A HREF="http://gdac.broadinstitute.org/runs/stddata__2016_01_28/data/ACC/20160128/">GDAC Firehose</A>. Previously known as TCGA Provisional.
#>   publicStudy groups status          importDate allSampleCount
#> 1        TRUE PUBLIC      0 2023-06-19 09:42:47             92
#>   sequencedSampleCount cnaSampleCount mrnaRnaSeqSampleCount
#> 1                   90             90                     0
#>   mrnaRnaSeqV2SampleCount mrnaMicroarraySampleCount miRnaSampleCount
#> 1                      79                         0                0
#>   methylationHm27SampleCount rppaSampleCount massSpectrometrySampleCount
#> 1                          0              46                           0
#>   completeSampleCount readPermission treatmentCount  studyId cancerTypeId
#> 1                  75           TRUE              0 acc_tcga          acc
#>            cancerType.name cancerType.dedicatedColor cancerType.shortName
#> 1 Adrenocortical Carcinoma                    Purple                  ACC
#>   cancerType.parent cancerType.cancerTypeId referenceGenome
#> 1     adrenal_gland                     acc            hg19
# }