Skip to content
Prev 18176 / 21312 Next

[Bioc-devel] SummarizedExperiment assays() gives HDF5Array error in Rstudio

You are behind the release and should update.  However, with a reasonably
close
instance I can't reproduce your error.  I had a flaky download at one
point; you might
want to reconstitute your brca data.
removing 11654 sampleMap rows not in names(experiments)
  removing 1 colData rownames not in sampleMap 'primary'> brcaA
MultiAssayExperiment object of 4 listed
 experiments with user-defined names and respective classes.
 Containing an ExperimentList class object of length 4:
 [1] BRCA_miRNASeqGene-20160128: SummarizedExperiment with 1046 rows
and 849 columns
 [2] BRCA_mRNAArray-20160128: SummarizedExperiment with 17814 rows and
590 columns
 [3] BRCA_RPPAArray-20160128: SummarizedExperiment with 226 rows and 937 columns
 [4] BRCA_Methylation_methyl27-20160128: SummarizedExperiment with
27578 rows and 343 columns
Functionality:
 experiments() - obtain the ExperimentList instance
 colData() - the primary/phenotype DataFrame
 sampleMap() - the sample coordination DataFrame
 `$`, `[`, `[[` - extract colData columns, subset, or experiment
 *Format() - convert into a long or wide DataFrame
 assays() - convert ExperimentList to a SimpleList of matrices
 exportClass() - save all data to files>
assay(experiments(brca)[[4]])<27578 x 343> matrix of class
DelayedMatrix and type "double":
           TCGA-A1-A0SD-01A-11D-A112-05 ... TCGA-E2-A15T-01A-11D-A112-05
cg00000292                   0.60555263   .                   0.25951246
cg00002426                   0.06197412   .                   0.04144839
cg00003994                   0.33345006   .                   0.34969161
cg00005847                   0.67217034   .                   0.83666264
cg00006414                           NA   .                           NA
       ...                            .   .                            .
cg27657283                   0.04196141   .                   0.03385843
cg27661264                   0.51756951   .                   0.47593756
cg27662379                   0.01078112   .                   0.01157093
cg27662877                   0.03112835   .                   0.02603354
cg27665659                   0.01072116   .
0.01756740> sessionInfo()R version 4.0.3 (2020-10-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04 LTS

Matrix products: default
BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.8.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
LC_TIME=en_US.UTF-8
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8
LC_MESSAGES=C
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
LC_ADDRESS=C
[10] LC_TELEPHONE=C             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] rhdf5_2.34.0                curatedTCGAData_1.12.1
MultiAssayExperiment_1.16.0
 [4] SummarizedExperiment_1.20.0 Biobase_2.50.0
GenomicRanges_1.42.0
 [7] GenomeInfoDb_1.26.7         IRanges_2.24.1
S4Vectors_0.28.1
[10] BiocGenerics_0.36.1         MatrixGenerics_1.2.1
matrixStats_0.59.0
[13] httr_1.4.2                  magrittr_2.0.1
AnVIL_1.5.0
[16] dplyr_1.0.6                 BiocManager_1.30.15

loaded via a namespace (and not attached):
 [1] bitops_1.0-7                  bit64_4.0.5
 [3] rprojroot_2.0.2               tools_4.0.3
 [5] R6_2.5.0                      HDF5Array_1.18.1
 [7] DBI_1.1.1                     colorspace_2.0-1
 [9] rhdf5filters_1.2.1            withr_2.4.2
[11] tidyselect_1.1.1              prettyunits_1.1.1
[13] processx_3.5.2                bit_4.0.4
[15] curl_4.3.1                    compiler_4.0.3
[17] cli_2.5.0                     formatR_1.11
[19] DelayedArray_0.16.3           scales_1.1.1
[21] callr_3.7.0                   rappdirs_0.3.3
[23] rapiclient_0.1.3              digest_0.6.27
[25] XVector_0.30.0                pkgconfig_2.0.3
[27] htmltools_0.5.1.1             dbplyr_2.1.1
[29] fastmap_1.1.0                 rlang_0.4.11
[31] rstudioapi_0.13               RSQLite_2.2.7
[33] shiny_1.6.0                   generics_0.1.0
[35] jsonlite_1.7.2                RCurl_1.98-1.3
[37] GenomeInfoDbData_1.2.4        futile.logger_1.4.3
[39] Matrix_1.3-2                  Rcpp_1.0.6
[41] munsell_0.5.0                 Rhdf5lib_1.12.1
[43] lifecycle_1.0.0               yaml_2.2.1
[45] zlibbioc_1.36.0               pkgbuild_1.2.0
[47] BiocFileCache_1.14.0          AnnotationHub_2.22.1
[49] grid_4.0.3                    blob_1.2.1
[51] promises_1.2.0.1              ExperimentHub_1.16.1
[53] crayon_1.4.1                  lattice_0.20-41
[55] ps_1.6.0                      pillar_1.6.1
[57] futile.options_1.0.1          glue_1.4.2
[59] BiocVersion_3.12.0            lambda.r_1.2.4
[61] remotes_2.3.0                 vctrs_0.3.8
[63] httpuv_1.6.1                  gtable_0.3.0
[65] purrr_0.3.4                   tidyr_1.1.3
[67] assertthat_0.2.1              cachem_1.0.5
[69] ggplot2_3.3.3                 xfun_0.23
[71] mime_0.10                     xtable_1.8-4
[73] later_1.2.0                   tibble_3.1.2
[75] tinytex_0.32                  AnnotationDbi_1.52.0
[77] memoise_2.0.0                 ellipsis_0.3.2
[79] interactiveDisplayBase_1.28.0


On Wed, Jun 2, 2021 at 3:37 PM Shraddha Pai <shraddha.pai at utoronto.ca>
wrote: