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