[Bioc-devel] Biostrings: List with DNAString does not unlist

Julian Gehring julian.gehring at embl.de
Thu Apr 4 12:50:08 CEST 2013


Hi,

Unlisting does not work on a list with a 'DNAString' as a element,  the 
resulting object is still a list.  Is this behavior intentional?  Here 
an example that reproduces the issue in both the latest 
R-devel/bioc-devel and R-2.15.3/bioc-stable.

   library(Biostrings)
   d = DNAString("TTGAAAA-CTC-N")
   class(d) ## -> DNAString
   l = list(d)
   class(l) ## -> list
   u = unlist(l)
   class(u) ## -> still a list, should be the same as 'd'

Best wishes
Julian



More information about the Bioc-devel mailing list