library(cBioPortalData)
library(AnVIL)
This document serves as a reporting tool for errors that occur when running our utility functions on the cBioPortal datasets.
cBioPortalData()
)Typically, the number of errors encountered via the API are low. There are only a handful of packages that error when we apply the utility functions to provide a MultiAssayExperiment data representation.
First, we load the error Rda
dataset.
api_errs <- system.file(
"extdata", "api", "err_api_info.rda",
package = "cBioPortalData", mustWork = TRUE
)
load(api_errs)
We can now inspect the contents of the data:
class(err_api_info)
## [1] "list"
length(err_api_info)
## [1] 4
lengths(err_api_info)
## Barcodes must start with 'TCGA'
## 2
## Empty reply from server
## 1
## Frequency of NA values higher than the cutoff tolerance
## 1
## replacement has length zero
## 1
There were about 4 unique errors during the last build run.
names(err_api_info)
## [1] "Barcodes must start with 'TCGA'"
## [2] "Empty reply from server"
## [3] "Frequency of NA values higher than the cutoff tolerance"
## [4] "replacement has length zero"
The most common error was Inconsistent build numbers found
. This is
due to annotations from different build numbers that were not able to
be resolved.
To see what datasets (cancer_study_id
s) have that error we can use:
err_api_info[['Inconsistent build numbers found']]
## NULL
We can also have a look at the entirety of the dataset.
err_api_info
## $`Barcodes must start with 'TCGA'`
## [1] "nsclc_tcga_broad_2016" "blca_msk_tcga_2020"
##
## $`Empty reply from server`
## [1] "ccle_broad_2019"
##
## $`Frequency of NA values higher than the cutoff tolerance`
## [1] "mixed_msk_tcga_2021"
##
## $`replacement has length zero`
## [1] "glioma_msk_2018"
cBioDataPack()
Now let’s look at the errors in the packaged datasets that are used for
cBioDataPack
:
pack_errs <- system.file(
"extdata", "pack", "err_pack_info.rda",
package = "cBioPortalData", mustWork = TRUE
)
load(pack_errs)
We can do the same for this data:
length(err_pack_info)
## [1] 42
lengths(err_pack_info)
## failed to create directory '/tmp/RtmpzXtVhu/3249cd7a0f6245_laml_tcga'
## 1
## no lines available in input
## 12
## failed to create directory '/tmp/RtmpzXtVhu/3249dc7a0f6245_cesc_tcga'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249dd7a0f6245_chol_tcga'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f02adae78d_kich_tcga'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249e0108540f3_coadread_tcga'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f77ab68a7d_dlbc_tcga'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249d62adae78d_lgg_tcga'
## 1
## object 'clindata' not found
## 7
## attempt to set 'colnames' on an object with less than two dimensions
## 8
## cannot coerce type 'closure' to vector of type 'character'
## 19
## non-character argument
## 2
## failed to create directory '/tmp/RtmpzXtVhu/3249d4108540f3_blca_dfarber_mskcc_2014'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249d9108540f3_brca_sanger'
## 1
## more columns than column names
## 2
## failed to create directory '/tmp/RtmpzXtVhu/3249e57a0f6245_esca_broad'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f37a0f6245_lihc_riken'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f47ab68a7d_luad_mskcc_2015'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249cc2adae78d_paac_jhu_2014'
## 1
## replacement has 1 row, data has 0
## 1
## invalid class "ExperimentList" object: \n Non-unique names provided
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a037ab68a7d_nepc_wcm_2016'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249de2adae78d_lcll_broad_2013'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f8108540f3_mixed_allen_2018'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a142adae78d_rectal_msk_2019'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a007a0f6245_prad_mcspc_mskcc_2020'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249d82adae78d_brca_smc_2018'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a007ab68a7d_mixed_cfdna_msk_2020'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249f6108540f3_lung_smc_2016'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a017a0f6245_mds_tokyo_2011'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249e27ab68a7d_pact_jhu_2011'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/176b15456c3cf_utuc_mskcc_2015'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/324a037a0f6245_nbl_broad_2013'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249fd108540f3_egc_msk_2017'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249fd7a0f6245_crc_msk_2017'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249fe108540f3_mel_ucla_2016'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249e47a0f6245_dlbc_tcga_pan_can_atlas_2018'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249d8108540f3_bfn_duke_nus_2015'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249eb7a0f6245_glioma_mskcc_2019'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/1769344c0b9fb_vsc_cuk_2018'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/7a1a5a6a8099_lung_msk_pdx'
## 1
## failed to create directory '/tmp/RtmpzXtVhu/3249ee2adae78d_histiocytosis_cobi_msk_2019'
## 1
We can get a list of all the errors present:
names(err_pack_info)
## [1] "failed to create directory '/tmp/RtmpzXtVhu/3249cd7a0f6245_laml_tcga'"
## [2] "no lines available in input"
## [3] "failed to create directory '/tmp/RtmpzXtVhu/3249dc7a0f6245_cesc_tcga'"
## [4] "failed to create directory '/tmp/RtmpzXtVhu/3249dd7a0f6245_chol_tcga'"
## [5] "failed to create directory '/tmp/RtmpzXtVhu/3249f02adae78d_kich_tcga'"
## [6] "failed to create directory '/tmp/RtmpzXtVhu/3249e0108540f3_coadread_tcga'"
## [7] "failed to create directory '/tmp/RtmpzXtVhu/3249f77ab68a7d_dlbc_tcga'"
## [8] "failed to create directory '/tmp/RtmpzXtVhu/3249d62adae78d_lgg_tcga'"
## [9] "object 'clindata' not found"
## [10] "attempt to set 'colnames' on an object with less than two dimensions"
## [11] "cannot coerce type 'closure' to vector of type 'character'"
## [12] "non-character argument"
## [13] "failed to create directory '/tmp/RtmpzXtVhu/3249d4108540f3_blca_dfarber_mskcc_2014'"
## [14] "failed to create directory '/tmp/RtmpzXtVhu/3249d9108540f3_brca_sanger'"
## [15] "more columns than column names"
## [16] "failed to create directory '/tmp/RtmpzXtVhu/3249e57a0f6245_esca_broad'"
## [17] "failed to create directory '/tmp/RtmpzXtVhu/3249f37a0f6245_lihc_riken'"
## [18] "failed to create directory '/tmp/RtmpzXtVhu/3249f47ab68a7d_luad_mskcc_2015'"
## [19] "failed to create directory '/tmp/RtmpzXtVhu/3249cc2adae78d_paac_jhu_2014'"
## [20] "replacement has 1 row, data has 0"
## [21] "invalid class \"ExperimentList\" object: \n Non-unique names provided"
## [22] "failed to create directory '/tmp/RtmpzXtVhu/324a037ab68a7d_nepc_wcm_2016'"
## [23] "failed to create directory '/tmp/RtmpzXtVhu/3249de2adae78d_lcll_broad_2013'"
## [24] "failed to create directory '/tmp/RtmpzXtVhu/3249f8108540f3_mixed_allen_2018'"
## [25] "failed to create directory '/tmp/RtmpzXtVhu/324a142adae78d_rectal_msk_2019'"
## [26] "failed to create directory '/tmp/RtmpzXtVhu/324a007a0f6245_prad_mcspc_mskcc_2020'"
## [27] "failed to create directory '/tmp/RtmpzXtVhu/3249d82adae78d_brca_smc_2018'"
## [28] "failed to create directory '/tmp/RtmpzXtVhu/324a007ab68a7d_mixed_cfdna_msk_2020'"
## [29] "failed to create directory '/tmp/RtmpzXtVhu/3249f6108540f3_lung_smc_2016'"
## [30] "failed to create directory '/tmp/RtmpzXtVhu/324a017a0f6245_mds_tokyo_2011'"
## [31] "failed to create directory '/tmp/RtmpzXtVhu/3249e27ab68a7d_pact_jhu_2011'"
## [32] "failed to create directory '/tmp/RtmpzXtVhu/176b15456c3cf_utuc_mskcc_2015'"
## [33] "failed to create directory '/tmp/RtmpzXtVhu/324a037a0f6245_nbl_broad_2013'"
## [34] "failed to create directory '/tmp/RtmpzXtVhu/3249fd108540f3_egc_msk_2017'"
## [35] "failed to create directory '/tmp/RtmpzXtVhu/3249fd7a0f6245_crc_msk_2017'"
## [36] "failed to create directory '/tmp/RtmpzXtVhu/3249fe108540f3_mel_ucla_2016'"
## [37] "failed to create directory '/tmp/RtmpzXtVhu/3249e47a0f6245_dlbc_tcga_pan_can_atlas_2018'"
## [38] "failed to create directory '/tmp/RtmpzXtVhu/3249d8108540f3_bfn_duke_nus_2015'"
## [39] "failed to create directory '/tmp/RtmpzXtVhu/3249eb7a0f6245_glioma_mskcc_2019'"
## [40] "failed to create directory '/tmp/RtmpzXtVhu/1769344c0b9fb_vsc_cuk_2018'"
## [41] "failed to create directory '/tmp/RtmpzXtVhu/7a1a5a6a8099_lung_msk_pdx'"
## [42] "failed to create directory '/tmp/RtmpzXtVhu/3249ee2adae78d_histiocytosis_cobi_msk_2019'"
And finally the full list of errors:
err_pack_info
## $`failed to create directory '/tmp/RtmpzXtVhu/3249cd7a0f6245_laml_tcga'`
## [1] "laml_tcga"
##
## $`no lines available in input`
## [1] "blca_tcga" "brca_tcga"
## [3] "skcm_tcga" "prad_tcga"
## [5] "laml_tcga_pub" "lgggbm_tcga_pub"
## [7] "luad_tcga_pub" "brca_metabric"
## [9] "lihc_tcga_pan_can_atlas_2018" "brca_mbcproject_wagle_2017"
## [11] "angs_painter_2020" "paad_qcmg_uq_2016"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249dc7a0f6245_cesc_tcga'`
## [1] "cesc_tcga"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249dd7a0f6245_chol_tcga'`
## [1] "chol_tcga"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f02adae78d_kich_tcga'`
## [1] "kich_tcga"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249e0108540f3_coadread_tcga'`
## [1] "coadread_tcga"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f77ab68a7d_dlbc_tcga'`
## [1] "dlbc_tcga"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249d62adae78d_lgg_tcga'`
## [1] "lgg_tcga"
##
## $`object 'clindata' not found`
## [1] "luad_tcga" "hnsc_tcga_pub" "luad_broad"
## [4] "thca_tcga_pub" "msk_impact_2017" "nbl_target_2018_pub"
## [7] "skcm_dfci_2015"
##
## $`attempt to set 'colnames' on an object with less than two dimensions`
## [1] "lusc_tcga" "ampca_bcm_2016"
## [3] "skcm_tcga_pub_2015" "thym_tcga_pan_can_atlas_2018"
## [5] "msk_ch_2020" "cll_broad_2015"
## [7] "cscc_hgsc_bcm_2014" "ucs_tcga_pan_can_atlas_2018"
##
## $`cannot coerce type 'closure' to vector of type 'character'`
## [1] "bcc_unige_2016" "brca_bccrc_xenograft_2014"
## [3] "chol_jhu_2013" "luad_tsp"
## [5] "mbl_broad_2012" "sarc_mskcc"
## [7] "ctcl_columbia_2015" "mds_mskcc_2020"
## [9] "rbl_cfdna_msk_2020" "mcl_idibips_2013"
## [11] "cllsll_icgc_2011" "nsclc_unito_2016"
## [13] "hcc_msk_venturaa_2018" "mpn_cimr_2013"
## [15] "brca_jup_msk_2020" "utuc_igbmc_2021"
## [17] "dlbc_broad_2012" "mixed_msk_tcga_2021"
## [19] "ihch_mskcc_2020"
##
## $`non-character argument`
## [1] "prad_fhcrc" "mbn_mdacc_2013"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249d4108540f3_blca_dfarber_mskcc_2014'`
## [1] "blca_dfarber_mskcc_2014"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249d9108540f3_brca_sanger'`
## [1] "brca_sanger"
##
## $`more columns than column names`
## [1] "ccrcc_utokyo_2013" "acyc_fmi_2014"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249e57a0f6245_esca_broad'`
## [1] "esca_broad"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f37a0f6245_lihc_riken'`
## [1] "lihc_riken"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f47ab68a7d_luad_mskcc_2015'`
## [1] "luad_mskcc_2015"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249cc2adae78d_paac_jhu_2014'`
## [1] "paac_jhu_2014"
##
## $`replacement has 1 row, data has 0`
## [1] "prad_su2c_2015"
##
## $`invalid class "ExperimentList" object: \n Non-unique names provided`
## [1] "stad_tcga_pub"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a037ab68a7d_nepc_wcm_2016'`
## [1] "nepc_wcm_2016"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249de2adae78d_lcll_broad_2013'`
## [1] "lcll_broad_2013"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f8108540f3_mixed_allen_2018'`
## [1] "mixed_allen_2018"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a142adae78d_rectal_msk_2019'`
## [1] "rectal_msk_2019"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a007a0f6245_prad_mcspc_mskcc_2020'`
## [1] "prad_mcspc_mskcc_2020"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249d82adae78d_brca_smc_2018'`
## [1] "brca_smc_2018"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a007ab68a7d_mixed_cfdna_msk_2020'`
## [1] "mixed_cfdna_msk_2020"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249f6108540f3_lung_smc_2016'`
## [1] "lung_smc_2016"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a017a0f6245_mds_tokyo_2011'`
## [1] "mds_tokyo_2011"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249e27ab68a7d_pact_jhu_2011'`
## [1] "pact_jhu_2011"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/176b15456c3cf_utuc_mskcc_2015'`
## [1] "utuc_mskcc_2015"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/324a037a0f6245_nbl_broad_2013'`
## [1] "nbl_broad_2013"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249fd108540f3_egc_msk_2017'`
## [1] "egc_msk_2017"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249fd7a0f6245_crc_msk_2017'`
## [1] "crc_msk_2017"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249fe108540f3_mel_ucla_2016'`
## [1] "mel_ucla_2016"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249e47a0f6245_dlbc_tcga_pan_can_atlas_2018'`
## [1] "dlbc_tcga_pan_can_atlas_2018"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249d8108540f3_bfn_duke_nus_2015'`
## [1] "bfn_duke_nus_2015"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249eb7a0f6245_glioma_mskcc_2019'`
## [1] "glioma_mskcc_2019"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/1769344c0b9fb_vsc_cuk_2018'`
## [1] "vsc_cuk_2018"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/7a1a5a6a8099_lung_msk_pdx'`
## [1] "lung_msk_pdx"
##
## $`failed to create directory '/tmp/RtmpzXtVhu/3249ee2adae78d_histiocytosis_cobi_msk_2019'`
## [1] "histiocytosis_cobi_msk_2019"
sessionInfo()
## R version 4.2.2 (2022-10-31)
## Platform: x86_64-pc-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.5 LTS
##
## Matrix products: default
## BLAS: /home/biocbuild/bbs-3.16-bioc/R/lib/libRblas.so
## LAPACK: /home/biocbuild/bbs-3.16-bioc/R/lib/libRlapack.so
##
## locale:
## [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
## [3] LC_TIME=en_GB LC_COLLATE=C
## [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
## [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
## [9] LC_ADDRESS=C LC_TELEPHONE=C
## [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
##
## attached base packages:
## [1] stats4 stats graphics grDevices utils datasets methods
## [8] base
##
## other attached packages:
## [1] survminer_0.4.9 ggpubr_0.5.0
## [3] ggplot2_3.4.0 survival_3.4-0
## [5] cBioPortalData_2.10.3 MultiAssayExperiment_1.24.0
## [7] SummarizedExperiment_1.28.0 Biobase_2.58.0
## [9] GenomicRanges_1.50.2 GenomeInfoDb_1.34.6
## [11] IRanges_2.32.0 S4Vectors_0.36.1
## [13] BiocGenerics_0.44.0 MatrixGenerics_1.10.0
## [15] matrixStats_0.63.0 AnVIL_1.10.1
## [17] dplyr_1.0.10 BiocStyle_2.26.0
##
## loaded via a namespace (and not attached):
## [1] backports_1.4.1 BiocBaseUtils_1.0.0
## [3] BiocFileCache_2.6.0 RCircos_1.2.2
## [5] splines_4.2.2 BiocParallel_1.32.5
## [7] TCGAutils_1.18.0 digest_0.6.31
## [9] htmltools_0.5.4 magick_2.7.3
## [11] fansi_1.0.3 magrittr_2.0.3
## [13] memoise_2.0.1 tzdb_0.3.0
## [15] limma_3.54.0 Biostrings_2.66.0
## [17] readr_2.1.3 vroom_1.6.0
## [19] prettyunits_1.1.1 colorspace_2.0-3
## [21] blob_1.2.3 rvest_1.0.3
## [23] rappdirs_0.3.3 xfun_0.36
## [25] crayon_1.5.2 RCurl_1.98-1.9
## [27] jsonlite_1.8.4 RaggedExperiment_1.22.0
## [29] zoo_1.8-11 glue_1.6.2
## [31] GenomicDataCommons_1.22.0 gtable_0.3.1
## [33] zlibbioc_1.44.0 XVector_0.38.0
## [35] DelayedArray_0.24.0 car_3.1-1
## [37] abind_1.4-5 scales_1.2.1
## [39] futile.options_1.0.1 DBI_1.1.3
## [41] rstatix_0.7.1 miniUI_0.1.1.1
## [43] Rcpp_1.0.9 gridtext_0.1.5
## [45] xtable_1.8-4 progress_1.2.2
## [47] archive_1.1.5 bit_4.0.5
## [49] km.ci_0.5-6 DT_0.26
## [51] htmlwidgets_1.6.0 httr_1.4.4
## [53] ellipsis_0.3.2 farver_2.1.1
## [55] pkgconfig_2.0.3 XML_3.99-0.13
## [57] rapiclient_0.1.3 sass_0.4.4
## [59] dbplyr_2.2.1 utf8_1.2.2
## [61] RJSONIO_1.3-1.6 labeling_0.4.2
## [63] tidyselect_1.2.0 rlang_1.0.6
## [65] later_1.3.0 AnnotationDbi_1.60.0
## [67] munsell_0.5.0 tools_4.2.2
## [69] cachem_1.0.6 cli_3.5.0
## [71] generics_0.1.3 RSQLite_2.2.20
## [73] broom_1.0.2 evaluate_0.19
## [75] stringr_1.5.0 fastmap_1.1.0
## [77] yaml_2.3.6 knitr_1.41
## [79] bit64_4.0.5 survMisc_0.5.6
## [81] purrr_1.0.0 KEGGREST_1.38.0
## [83] mime_0.12 formatR_1.13
## [85] xml2_1.3.3 biomaRt_2.54.0
## [87] compiler_4.2.2 filelock_1.0.2
## [89] curl_4.3.3 png_0.1-8
## [91] ggsignif_0.6.4 tibble_3.1.8
## [93] bslib_0.4.2 stringi_1.7.8
## [95] highr_0.10 futile.logger_1.4.3
## [97] GenomicFeatures_1.50.3 lattice_0.20-45
## [99] Matrix_1.5-3 commonmark_1.8.1
## [101] markdown_1.4 KMsurv_0.1-5
## [103] RTCGAToolbox_2.28.0 vctrs_0.5.1
## [105] pillar_1.8.1 lifecycle_1.0.3
## [107] BiocManager_1.30.19 jquerylib_0.1.4
## [109] data.table_1.14.6 bitops_1.0-7
## [111] httpuv_1.6.7 rtracklayer_1.58.0
## [113] R6_2.5.1 BiocIO_1.8.0
## [115] bookdown_0.31 promises_1.2.0.1
## [117] gridExtra_2.3 codetools_0.2-18
## [119] lambda.r_1.2.4 assertthat_0.2.1
## [121] rjson_0.2.21 withr_2.5.0
## [123] GenomicAlignments_1.34.0 Rsamtools_2.14.0
## [125] GenomeInfoDbData_1.2.9 ggtext_0.1.2
## [127] parallel_4.2.2 hms_1.1.2
## [129] grid_4.2.2 tidyr_1.2.1
## [131] rmarkdown_2.19 carData_3.0-5
## [133] shiny_1.7.4 restfulr_0.0.15