[BioC] append on DNAStringSet produces an empty DNAString as last element

Philip Kensche pkensche at cmbi.ru.nl
Tue Aug 10 12:01:03 CEST 2010


Hi,

I noticed that following:

> append(DNAStringSet(), list(DNAString("aaaa"), DNAString("catc")))

[[1]]
  4-letter "DNAString" instance
seq: AAAA

[[3A2]]
  4-letter "DNAString" instance
seq: CATC

[[3]]
  A DNAStringSet instance of length 0

I guess, the last element shouldn't be there -- or not?


Regards,

	Philip




P.S.:


> sessionInfo()
R version 2.11.1 (2010-05-31) 
x86_64-pc-linux-gnu 

locale:
 [1] LC_CTYPE=de_DE.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=de_DE.UTF-8        LC_COLLATE=de_DE.UTF-8    
 [5] LC_MONETARY=C              LC_MESSAGES=de_DE.UTF-8   
 [7] LC_PAPER=de_DE.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] GenomicRanges_1.0.7 Biostrings_2.16.9   IRanges_1.6.6      

loaded via a namespace (and not attached):
[1] Biobase_2.8.0   BSgenome_1.16.2


-- 
  | Philip Kensche <pkensche at cmbi.ru.nl>
  | http://www.cmbi.ru.nl/~pkensche
  |
  | Center for Molecular and Biomolecular Informatics
  | http://www2.cmbi.ru.nl
  |
  | phone +31 (0)24 36 19693
  | fax   +31 (0)24 36 19395



More information about the Bioconductor mailing list