subsetSamples
subsetSamples |
R Documentation |
Filter results by sample
Description
Create a SQM or SQMlite object containing only samples specified by the user, and the ORFs, contigs, bins, taxa and functions present in those samples.
Usage
subsetSamples(SQM, samples, remove_missing = TRUE, new_sample_names = NULL)
Arguments
|
SQM or SQMlite object to be subsetted. |
|
character. Samples to be included in the subset. |
|
bool. If |
|
character. New sample names to be included in
the subset (default |
Value
SQM or SQMlite object containing only the requested samples.
See Also
subsetTax, subsetFun, subsetORFs, combineSQM. The most
abundant items of a particular table contained in a SQM object can be
selected with mostAbundant.