Re: [Bioc-devel] do SummarizedExperiments really need colnames?

2015-12-05 Thread Aaron Lun
Hello all, At the start of the SummarizedExperiment constructor, there's a code block that throws an error if 'colData' is not specified and the assay matrices don't have column names. Is this really necessary? In many cases, I just want to get a matrix into the SE0 object without having to

Re: [Bioc-devel] do SummarizedExperiments really need colnames?

2015-12-05 Thread Morgan, Martin
i.edu.au] Sent: Saturday, December 05, 2015 7:36 AM To: bioc-devel Subject: Re: [Bioc-devel] do SummarizedExperiments really need colnames? Hello all, At the start of the SummarizedExperiment constructor, there's a code block that throws an error if 'colData' is not specified and the

Re: [Bioc-devel] do SummarizedExperiments really need colnames?

2015-12-05 Thread Aaron Lun
i.edu.au] Sent: Saturday, December 05, 2015 7:36 AM To: bioc-devel Subject: Re: [Bioc-devel] do SummarizedExperiments really need colnames? Hello all, At the start of the SummarizedExperiment constructor, there's a code block that throws an error if 'colData' is not specified and the

Re: [Bioc-devel] do SummarizedExperiments really need colnames?

2015-12-06 Thread Peter Hickey
While on the topic of SummarizedExperiment colnames, the circumstances in which these are stripped from the assays and overridden by colData is confusing to me, particularly case 2 below (a warning in case 3 might be useful too). > m1 <- matrix(1:10, ncol = 2) > m2 <- m1 > colnames(m2) <- c("A", "

Re: [Bioc-devel] do SummarizedExperiments really need colnames?

2015-12-13 Thread Morgan, Martin
Thanks Peter and Aaron. For SummarizedExperiment 1.1.9 in svn now: For Aaron's original issue, SummarizedExperiment now allows construction from NULL colnames; it does not construct colnames. The behavior of SummarizedExperiment with respect to colnames is to use and keep them if provided, but