?`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] Return Type of as.table on Hits Object
2 messages · Dario Strbenac, Michael Stadler
3 days later
Dear list, I am looking for a way to programmatically get the unused disk space in R, ideally in a portable way that works on windows/linux/os x. I have come across OS specific solutions for C (e.g. using statvfs for linux), but I wonder if I am missing something simpler. Thank you for any help, Michael