Remove samples from a microbiome_dataset while keeping
expression_data and sample_info synchronized.
Arguments
- object
A microbiome_dataset object.
- sample_id
Sample identifiers to keep or remove.
- sample_index
Sample indices to keep or remove.
- keep
Should the provided samples be kept? Defaults to TRUE.
Value
A microbiome_dataset object.