Currently, only rows of tables can be mapped to taxa by having a taxon_id column.
Some packages (e.g. vegan) assume taxa are in columns.
Its no big deal to t() the table, but it would be pretty cool if columns could be mapped to taxa as well.
If all column names match taxon IDs, then taxa could automatically assume that taxa are mapped to columns.
Would also allow for pair-wise matrices of taxon comparisons to be stored correctly.
Just an idea at the moment, not sure how this would work with the filter_* functions.
Currently, only rows of tables can be mapped to taxa by having a
taxon_id
column. Some packages (e.g.vegan
) assume taxa are in columns. Its no big deal tot()
the table, but it would be pretty cool if columns could be mapped to taxa as well. If all column names match taxon IDs, thentaxa
could automatically assume that taxa are mapped to columns. Would also allow for pair-wise matrices of taxon comparisons to be stored correctly.Just an idea at the moment, not sure how this would work with the
filter_*
functions.