Closed wasade closed 3 months ago
Fixes #937
This PR expands Table.partition in the following ways:
Table.partition
{id: group}
{group: [list, of, ids]}
remove_empty=True
ignore_none=True
None
These changes expand the API, but do not break existing default behavior
cc @gregcaporaso
Fixes #937
This PR expands
Table.partition
in the following ways:{id: group}
can now be provided{group: [list, of, ids]}
can now be providedremove_empty=True
will drop any empty vectors in resulting partitionsignore_none=True
will ignore theNone
partition which is a collect all for samples without a group associations.These changes expand the API, but do not break existing default behavior
cc @gregcaporaso