Error invalid class "SummarizedExperiment" when using library("MultiDataSet")
0
0
Entering edit mode
@swvanderlaan-12768
Last seen 6.1 years ago

Hi,

I have two SummarizedExperiments: one is methylation and the other RNAseq data. I'd like to combine it using the MultiDataSet library to be able to run linear regression models between methylation and RNAseq data.

I've combined the two SE's into one, using the code below:

multi <- createMultiDataSet()
multi <- add_rse(multi, 
                         450Kdata, 
                  dataset.type = "450KData", warnings = FALSE)
multi <- add_rse(multi, 
                            rnaseqdata, 
                            dataset.type = "RNAseqData", warnings = FALSE)

multi

# Select common samples, and datasets
multi.common <- commonSamples(multi)

# Obtain the original objects
multi.mset <- multi[["450KData"]]

This all seems to work without events. But than, when I try: multi.eset <- multi[["RNAseqData"]] to get the expression dataset, it throws an error:

Error in validObject(.Object) : 
  invalid class “SummarizedExperiment” object: 
  nb of rows in 'assay' (14332) must equal nb of rows in 'rowData' (466311)

How should I interpret this? And more importantly, how do I fix it? Indeed, there are 14,332 genes, and 466,311 exons among those 14,332 genes.

Thanks,

Sander 

summarizedexperiment rangedsummarizedexperiment multidataset • 1.7k views
ADD COMMENT
0
Entering edit mode

Hi Sander,

I am not able to reproduce your error with the info that you gave me. Could you post the traceback and sessionInfo?

Bests,

Carlos

ADD REPLY

Login before adding your answer.

Traffic: 537 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6