How to setup a Summarized Experiment
1
0
Entering edit mode
4.7 years ago
Sethzard ▴ 20

I'm starting from a count matrix called Raw Dreads with each column being an RNA-Seq dataset, and each row being the reads associated with a gene (the names are EnsemblIDs).

I've also created matrix called support with the columns: sample, the name of an RNA-Seq dataset, and condition, which is the dataset they belong to.

I want to use EnrichmentBrowser on this dataset, and so need to turn it into an SummarizedExperiment file. I can't for the life of me work out how. Can anyone give me advice?

Summarized Experiment Enrichment Browser RNA-Seq R • 5.6k views
ADD COMMENT
3
Entering edit mode
4.7 years ago
ATpoint 82k

Where is the problem or rather at which point of the manual did you get stuck?

The first step is to initialize the object with counts, e.g.:

data.se <- SummarizedExperiment(list(counts=as.matrix(your.counts)))

Check the manual and then report where the problem is: https://bioconductor.org/packages/release/bioc/vignettes/SummarizedExperiment/inst/doc/SummarizedExperiment.html

ADD COMMENT
1
Entering edit mode

That worked, and also worked with adding colData=Support. I think I got confused because the command that's listed didn't work:

SummarizedExperiment(assays=list(counts=counts), colData=colData)

Sorry if I missed something, but it didn't seem obvious.

ADD REPLY

Login before adding your answer.

Traffic: 1940 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