[Bioc-devel] BioC 3.0 CHECK ERROR

2014-11-26 Thread Joachim Schumann
Hi everyone, this morning I got an email from bioconductor. The message: According to the Build/check report for BioC 3.0, the flowCHIC package has the following problem(s): ERROR for 'R CMD check' on zin1. The error I get is the following: Error in callGeneric() : 'callGeneric' with a

[Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Wolfgang Huber
A colleague and I are designing a package for quantitative proteomics data, and we are debating whether to base it on the SummarizedExperiment or the ExpressionSet class. There is no immediate use for the ranges aspect of SummarizedExperiment, so that would have to be carried around with NAs,

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Laurent Gatto
On 26 November 2014 14:59, Wolfgang Huber wrote: A colleague and I are designing a package for quantitative proteomics data, and we are debating whether to base it on the SummarizedExperiment or the ExpressionSet class. There is no immediate use for the ranges aspect of

Re: [Bioc-devel] BioC 3.0 CHECK ERROR

2014-11-26 Thread Martin Morgan
On 11/26/2014 01:39 AM, Joachim Schumann wrote: Hi everyone, this morning I got an email from bioconductor. The message: According to the Build/check report for BioC 3.0, the flowCHIC package has the following problem(s): ERROR for 'R CMD check' on zin1. The error I get is the following:

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Peter Haverty
Hi all, I believe there is a strong need for an object that organizes a collection of rectangular data (matrices, etc.) with metadata on the rows and columns. Can SummarizedExperiment inherit from something simpler that has a DataFrame as rowData? (I believe GenomicRanges should inherit from

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Michael Lawrence
On Wed, Nov 26, 2014 at 9:07 AM, Peter Haverty haverty.pe...@gene.com wrote: Hi all, I believe there is a strong need for an object that organizes a collection of rectangular data (matrices, etc.) with metadata on the rows and columns. Can SummarizedExperiment inherit from something simpler

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Tim Triche, Jr.
so as a simple experiment, I did the following: library(GenomicRanges) bar - matrix(rnorm(100), ncol=10) colnames(bar) - as.character(1:10) rownames(bar) - letters[1:10] foo - SummarizedExperiment(assays=list(bar=bar)) rowData(foo) ## GRangesList object of length 10: ## $a ## GRanges object with

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Michael Lawrence
GRangesList is very compact, so this would definitely get the job done. But having an empty range is not the same as a NA, nor does it mean that ranges are irrelevant. There are definitely times, especially as we extend beyond genomics, when we need something more general, as Pete suggests. As an

Re: [Bioc-devel] BioC 3.0 CHECK ERROR

2014-11-26 Thread Dan Tenenbaum
- Original Message - From: Martin Morgan mtmor...@fredhutch.org To: Joachim Schumann joachim.schum...@ufz.de, bioc-devel@r-project.org Sent: Wednesday, November 26, 2014 9:00:07 AM Subject: Re: [Bioc-devel] BioC 3.0 CHECK ERROR On 11/26/2014 01:39 AM, Joachim Schumann wrote: Hi

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Hector Corrada Bravo
One thing that’s become apparent working on epivizr is that it may be useful to think about ‘rowData’ in a SummarizedExperiment as having two distinct components: row coordinates and row metadata. In the current class rowData is a ‘GenomicRanges’ which contains both coordinates (the ranges) and

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Hervé Pagès
Hi guys, I like the idea of separating the row data from the row ranges. This could be formalized with 2 distinct accessors: rowData() and rowRanges(). The former would return a DataFrame, and the latter NULL or a range-based object (GRanges or GRangesList). I don't think there is the need for

Re: [Bioc-devel] SummarizedExperiment vs ExpressionSet

2014-11-26 Thread Peter Haverty
OK, GRanges as vector that does overlap stuff makes sense, but I think putting a DataFrame of metadata on that confuses the purpose of the object. How about a GRangesTable that inherits from both GenomicRanges and DataTable? It would be a DataFrame with a fancy index. The DataFrame API would

Re: [Bioc-devel] BioC 3.0 CHECK ERROR

2014-11-26 Thread Dan Tenenbaum
- Original Message - From: Martin Morgan mtmor...@fredhutch.org To: Dan Tenenbaum dtene...@fredhutch.org Cc: Joachim Schumann joachim.schum...@ufz.de, bioc-devel@r-project.org Sent: Wednesday, November 26, 2014 5:33:22 PM Subject: Re: [Bioc-devel] BioC 3.0 CHECK ERROR On