Open mafed opened 8 years ago
It would be a low-level change to the phyloseq class definition, but Matrix package is very mature, so I suspect that most things would still work if "otu_table" class inherited from "Matrix" rather than "matrix".
I haven't tested, but I'm very curious. I think this is a nice feature request. Will leave open for now...
May I ask if this suggestion has been optimized in subsequent versions?
As often abundance data matrices are full of zeroes, it could be useful to allow
otu_table(physeq).@Data
slot to accept also sparse matrices, I'm thinking todgCMatrix-class
. Is it feasible? Would it change phyloseq structure?