Entering edit mode
In the TCGA Breast pan cancer data set there is a clinical annotation column “SUBTYPE” (which contains BRCA_LumA, BRCA_LumB, BRCA_Basal, BRCA_Her2, BRCA_Her2)
My little R script is failing to get this column. How can I get these data?
library(cBioPortalData)
cbio <- cBioPortal()
x <- clinicalData(cbio, "brca_tcga_pan_can_atlas_2018")
x[["SUBTYPE"]]
NULL
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Scientific Linux 7.3 (Nitrogen)
Matrix products: default
BLAS/LAPACK: /apps/prod/easybuild/sl7.x86_64/software/OpenBLAS/0.3.9-GCC-9.3.0/lib/libopenblasp-r0.3.9.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] parallel stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] cBioPortalData_2.0.10 MultiAssayExperiment_1.14.0 SummarizedExperiment_1.18.2 DelayedArray_0.14.1 matrixStats_0.57.0 Biobase_2.48.0 GenomicRanges_1.40.0 GenomeInfoDb_1.24.2 IRanges_2.22.2
[10] S4Vectors_0.26.1 BiocGenerics_0.34.0 AnVIL_1.0.3 dplyr_1.0.4
loaded via a namespace (and not attached):
[1] httr_1.4.2 bit64_4.0.5 jsonlite_1.7.1 splines_4.0.2 assertthat_0.2.1 askpass_1.1 TCGAutils_1.8.1 BiocFileCache_1.12.1 blob_1.2.1 Rsamtools_2.4.0
[11] GenomeInfoDbData_1.2.3 RTCGAToolbox_2.18.0 progress_1.2.2 yaml_2.2.1 pillar_1.5.1 RSQLite_2.2.0 lattice_0.20-41 glue_1.4.2 limma_3.46.0 digest_0.6.25
[21] XVector_0.28.0 rvest_0.3.6 Matrix_1.3-2 XML_3.99-0.5 pkgconfig_2.0.3 biomaRt_2.44.4 zlibbioc_1.34.0 purrr_0.3.4 RCircos_1.2.1 rapiclient_0.1.3
[31] BiocParallel_1.22.0 openssl_1.4.2 tibble_3.1.0 generics_0.1.0 ellipsis_0.3.1 GenomicFeatures_1.40.1 survival_3.2-3 RJSONIO_1.3-1.4 magrittr_2.0.1 crayon_1.3.4
[41] memoise_1.1.0 fansi_0.4.1 xml2_1.3.2 prettyunits_1.1.1 tools_4.0.2 data.table_1.14.0 hms_0.5.3 formatR_1.7 lifecycle_0.2.0 stringr_1.4.0
[51] Biostrings_2.56.0 AnnotationDbi_1.50.3 lambda.r_1.2.4 compiler_4.0.2 rlang_0.4.10 futile.logger_1.4.3 debugme_1.1.0 grid_4.0.2 GenomicDataCommons_1.12.0 RCurl_1.98-1.2
[61] rstudioapi_0.11 rappdirs_0.3.1 bitops_1.0-6 DBI_1.1.1 curl_4.3 R6_2.4.1 GenomicAlignments_1.24.0 rtracklayer_1.48.0 bit_4.0.4 utf8_1.1.4
[71] futile.options_1.0.1 readr_1.4.0 stringi_1.5.3 RaggedExperiment_1.12.0 Rcpp_1.0.5 vctrs_0.3.6 dbplyr_1.4.4 tidyselect_1.1.0
andreas.wernitznig ,
There has been an update to this by Marcel Ramos , the same gentleman who replied below. Try again with
cBioPortalData
in Bioc-devel (package version 2.13.4). I've incorporated information from SAMPLE_ID from the datasets to map and build SummarizedExperiment objects. Now, you should get an object that looks like the following:These changes are in the latest version of cBioPortalData in Bioc-devel (package version 2.13.4).