waldronlab / curatedTCGAData

Curated Data From The Cancer Genome Atlas (TCGA) as MultiAssayExperiment Objects
https://bioconductor.org/packages/curatedTCGAData
41 stars 7 forks source link

Error with version 2.1.0 #55

Closed pipaber closed 1 year ago

pipaber commented 1 year ago

Hello curatedTCGAData team,

Im trying to run the following code but i got an error on the version 2.1.0 but not in the version 2.0.1.

readData = curatedTCGAData("READ", c("RNASeq2GeneNorm", "Mutation", "Methylation_methyl450"), dry.run = FALSE, version = "2.1.0") Error:

snapshotDate(): 2023-04-24
Working on: READ_Mutation-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
require(“RaggedExperiment”)
Working on: READ_RNASeq2GeneNorm-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: READ_Mutation-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: READ_RNASeq2GeneNorm-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: READ_Methylation_methyl450-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
require(“rhdf5”)
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘assays<-’ for signature ‘"character", "list"’

Session info:

R version 4.3.0 (2023-04-21 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 11 x64 (build 22621)

Matrix products: default

locale: [1] LC_COLLATE=Spanish_Peru.utf8 LC_CTYPE=Spanish_Peru.utf8 LC_MONETARY=Spanish_Peru.utf8 [4] LC_NUMERIC=C LC_TIME=Spanish_Peru.utf8

time zone: America/Lima tzcode source: internal

attached base packages: [1] stats4 stats graphics grDevices utils datasets methods base

other attached packages: [1] rhdf5_2.44.0 RaggedExperiment_1.24.0 curatedTCGAData_1.23.4
[4] MultiAssayExperiment_1.26.0 SummarizedExperiment_1.30.1 Biobase_2.60.0
[7] GenomicRanges_1.52.0 GenomeInfoDb_1.36.0 IRanges_2.34.0
[10] S4Vectors_0.38.1 BiocGenerics_0.46.0 MatrixGenerics_1.12.0
[13] matrixStats_0.63.0

loaded via a namespace (and not attached): [1] KEGGREST_1.40.0 xfun_0.39 lattice_0.21-8
[4] rhdf5filters_1.12.1 vctrs_0.6.2 tools_4.3.0
[7] bitops_1.0-7 generics_0.1.3 curl_5.0.0
[10] AnnotationDbi_1.62.1 tibble_3.2.1 fansi_1.0.4
[13] RSQLite_2.3.1 blob_1.2.4 pkgconfig_2.0.3
[16] Matrix_1.5-4.1 dbplyr_2.3.2 lifecycle_1.0.3
[19] GenomeInfoDbData_1.2.10 compiler_4.3.0 Biostrings_2.68.1
[22] httpuv_1.6.11 htmltools_0.5.5 RCurl_1.98-1.12
[25] yaml_2.3.7 interactiveDisplayBase_1.38.0 later_1.3.1
[28] pillar_1.9.0 crayon_1.5.2 ellipsis_0.3.2
[31] DelayedArray_0.26.3 cachem_1.0.8 mime_0.12
[34] ExperimentHub_2.8.0 AnnotationHub_3.8.0 tidyselect_1.2.0
[37] digest_0.6.31 purrr_1.0.1 dplyr_1.1.2
[40] BiocVersion_3.17.1 fastmap_1.1.1 grid_4.3.0
[43] cli_3.6.1 magrittr_2.0.3 S4Arrays_1.0.4
[46] utf8_1.2.3 withr_2.5.0 promises_1.2.0.1
[49] filelock_1.0.2 rappdirs_0.3.3 bit64_4.0.5
[52] XVector_0.40.0 httr_1.4.6 bit_4.0.5
[55] png_0.1-8 HDF5Array_1.28.1 memoise_2.0.1
[58] shiny_1.7.4 knitr_1.43 BiocFileCache_2.8.0
[61] rlang_1.1.1 Rcpp_1.0.10 xtable_1.8-4
[64] glue_1.6.2 DBI_1.1.3 BiocManager_1.30.20
[67] rstudioapi_0.14 Rhdf5lib_1.22.0 R6_2.5.1
[70] zlibbioc_1.46.0

Thanks in advance,

Piero Palacios

LiNk-NY commented 1 year ago

Hi Piero, @pipaber

Thank you for raising this issue. It seems like there is a conflict in the metadata when stored across multiple BiocVersions. I have addressed this in version 1.23.5 620d735b4b24587d0f1649811447fdece5b06afe.

Note that the assays inputs should almost always include a wildcard *, i.e., c("Mutations*", "RNASeq*") etc.

Best regards, Marcel