Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • SuzuBell
    Member
    • Nov 2013
    • 22

    no slot of name "elementMetadata" for this object of class "SummarizedExperiment"

    I have a count table that was saved as an .rda file. I was always able to open the .rda file in R simply using load("myData.rda"). Recently, upon trying to open the same file, I received an error in R as follows:

    Error in nrow(x@elementMetadata) :
    no slot of name "elementMetadata" for this object of class "SummarizedExperiment"

    Even though this error is output, loading in the data does create the countTable
    object in the R session. When I do:

    slotNames(countTable)

    I get five answers:

    [1] "colData" "assays" "NAMES" "elementMetadata" "metadata"

    Since that include "elementMetadata" and since I was always able to read in this file, I am confused what may be causing this. My R session information is as follows:

    R version 3.3.1 (2016-06-21)
    Platform: x86_64-apple-darwin13.4.0 (64-bit)
    Running under: OS X 10.9.5 (Mavericks)

    locale:
    [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

    other attached packages:
    [1] scales_0.4.0 reshape2_1.4.1 gridExtra_2.2.1
    [4] matrixStats_0.51.0 dplyr_0.5.0 EDASeq_2.6.2
    [7] ShortRead_1.30.0 BiocParallel_1.6.6 stringr_1.1.0
    [10] edgeR_3.14.0 limma_3.28.21 GGally_1.2.0
    [13] ggplot2_2.1.0 GenomicAlignments_1.8.4 SummarizedExperiment_1.2.3
    [16] Biobase_2.32.0 Rsamtools_1.24.0 Biostrings_2.40.2
    [19] XVector_0.12.1 rtracklayer_1.32.2 GenomicRanges_1.24.3
    [22] GenomeInfoDb_1.8.7 IRanges_2.6.1 S4Vectors_0.10.3
    [25] BiocGenerics_0.18.0

    loaded via a namespace (and not attached):
    [1] Rcpp_0.12.7 RColorBrewer_1.1-2 plyr_1.8.4 GenomicFeatures_1.24.5
    [5] R.methodsS3_1.7.1 bitops_1.0-6 R.utils_2.4.0 tools_3.3.1
    [9] zlibbioc_1.18.0 biomaRt_2.28.0 tibble_1.2 RSQLite_1.0.0
    [13] annotate_1.50.1 gtable_0.2.0 lattice_0.20-34 Matrix_1.2-7.1
    [17] DBI_0.5-1 DESeq_1.24.0 genefilter_1.54.2 hwriter_1.3.2
    [21] aroma.light_3.2.0 grid_3.3.1 reshape_0.8.5 R6_2.2.0
    [25] AnnotationDbi_1.34.4 survival_2.39-5 XML_3.98-1.4 latticeExtra_0.6-28
    [29] geneplotter_1.50.0 magrittr_1.5 splines_3.3.1 assertthat_0.1
    [33] xtable_1.8-2 colorspace_1.2-7 stringi_1.1.2 RCurl_1.95-4.8
    [37] munsell_0.4.3 R.oo_1.20.0

    Any help is greatly appreciated!
  • Dario1984
    Senior Member
    • Jun 2011
    • 166

    #2
    That simply means that SummarizedExperiment had its definition changed recently and your variable doesn't have the new slot because it was created before the new definition was in existence. You can use updateObject to easily make your variable conform to the latest definition.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
      by SEQadmin2


      Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


      The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
      ...
      06-02-2026, 10:05 AM
    • SEQadmin2
      Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
      by SEQadmin2


      With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


      Introduction

      Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
      05-22-2026, 06:42 AM
    • SEQadmin2
      Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
      by SEQadmin2

      Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


      Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
      05-06-2026, 09:04 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 08:59 AM
    0 responses
    9 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 12:03 PM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 11:40 AM
    0 responses
    17 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 05-28-2026, 11:40 AM
    0 responses
    30 views
    0 reactions
    Last Post SEQadmin2  
    Working...