Skip to content
Prev 9504 / 21318 Next

[Bioc-devel] on the subject of combine, cbind and rbind

Hi Kasper,
On 07/12/2016 09:31 AM, Kasper Daniel Hansen wrote:
A 1st little step that would maybe help would be to have rbind() on
DataFrame objects work when the columns are the same but not in the
same order. This is something that works with ordinary data frames.

That being said, we might want to do more e.g. have cbind() on
SummarizedExperiment objects work when the colData don't have the
same columns.

And I guess that would be pretty much it for the improvements to
cbind,SummarizedExperiment. It needs to stick to the cbind semantic
i.e. it should not try to merge assay columns and should preserve the
nb of rows. As Michael pointed out, that kind of feature (i.e. merging
assay columns and/or rows) would belong to something like a merge() or
maybe a combine().

H.