Create a SQM object containing only samples specified by the user, and the ORFs, contigs, bins, taxa and functions present in those samples.
subsetSamples(SQM, samples, remove_missing = TRUE)
SQM object containing only the requested samples.
SQM object to be subsetted.
character. Samples to be included in the subset.
bool. If TRUE
, ORFs, contigs, bins, taxa and functions absent from the selected samples will be removed from the subsetted object (default TRUE
).
subsetTax
, subsetFun
, subsetORFs
, combineSQM
. The most abundant items of a particular table contained in a SQM object can be selected with mostAbundant
.