Please be more specific about the desired operations, or, better, submt a pull request with them. colMeans() in particular was intentionally omitted because it depends on having homogeneous data, which is better suited for a matrix, not a data frame.
On Mon, Jan 15, 2018 at 10:00 PM, Dario Strbenac <dstr7...@uni.sydney.edu.au > wrote: > Good day, > > Would it be useful to provide the same operations which can be done to a > data.frame for a DataFrame in a future release of S4Vectors? For example, > > dataTable <- data.frame(aFeature = 1:5, anotherFeature = 5:1) > colMeans(dataTable) > # aFeature anotherFeature > # 3 3 > dataTableS4 <- DataFrame(aFeature = 1:5, anotherFeature = 5:1) > colMeans(dataTableS4) > Error in colMeans(dataTableS4) : > 'x' must be an array of at least two dimensions > > -------------------------------------- > Dario Strbenac > University of Sydney > Camperdown NSW 2050 > Australia > > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel