Skip to content

[Bioc-devel] Unexpected behaviour with Assays and Vector classes

3 messages · Hervé Pagès

#
Hi Aaron,
On 11/15/2015 12:37 PM, Aaron Lun wrote:
Good point. The same argument could actually be used for the names:

   > x <- c(a=1, b=2, c=3, d=4)
   > names(x[1]) <- "ZZ"
   > x
   a b c d
   1 2 3 4

Anyway, you convinced me that we should not try to follow too closely
the names model for how we treat metadata columns. If nobody objects,
I'll change the behavior of the various "replaceROWS" methods in the
S4Vectors stack and make sure that they all transfer the metadata
columns from 'value' to 'x'.

Cheers,
H.

  
    
#
Hi Aaron,
On 11/16/2015 09:39 AM, Herv? Pag?s wrote:
This is done in S4Vectors 0.9.9 and IRanges 2.5.6 in devel, and in
S4Vectors 0.8.3 and IRanges 2.4.2 in release.

Cheers,
H.

  
    
1 day later
#
Developers,
On 11/16/2015 11:39 PM, Herv? Pag?s wrote:
[...]
Just a heads-up that while making these changes to IRanges, I broke
subsetting of DNAStringSet objects (and other XStringSet derivatives).
So please refrain from updating IRanges today. This is now fixed in
IRanges 2.4.3 (release) and 2.5.7 (devel) but the fix won't become
available via biocLite() before tomorrow.

Sorry for the inconvenience,

H.