[Bioc-devel] Return Type of as.table on Hits Object

Dario Strbenac dstr7320 at uni.sydney.edu.au
Fri Jul 26 08:00:14 CEST 2013


?`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



More information about the Bioc-devel mailing list