?`Hits-class` explains that as.table returns an object of class table, but it's 
an integer vector.

 class(peaksToGenes)
[1] "Hits"
attr(,"package")
[1] "IRanges"
 class(as.table(t(peaksToGenes)))
[1] "integer"

This is in IRanges_1.18.2

--------------------------------------
Dario Strbenac
PhD Student
University of Sydney
Camperdown NSW 2050
Australia

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to