[Bioc-sig-seq] Coercion of GenomeData to RangedData

Dario Strbenac D.Strbenac at garvan.org.au
Tue Oct 19 04:00:23 CEST 2010


This conversion used to work before but it seems like it doesn't any longer.

> summary(rs)
    Length      Class       Mode 
        25 GenomeData         S4
> as(rs, "RangedData")
Error in FUN(X[[1L]], ...) : 
  no method or default for coercing "list" to "RangedData"
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: x86_64-pc-mingw32/x64 (64-bit)

[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252    LC_MONETARY=English_Australia.1252 LC_NUMERIC=C                      
[5] LC_TIME=English_Australia.1252    

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

other attached packages:
[1] BSgenome_1.18.0     Biostrings_2.18.0   GenomicRanges_1.2.0 IRanges_1.8.0      

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

More information about the Bioc-sig-sequencing mailing list