I am getting trouble with aggregating my data. Please suggest me how to aggregate the data by a level say for example "genus". Please see the command and error message below.
> MSOTrimG = aggTax(MSO, lvl="genus", out = "MRexperiment")
Error in `[.data.frame`(fData(obj), , lvl) : undefined columns selected