subsetSamples {SQMtools}R Documentation

Filter results by sample

Description

Create a SQM 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)

Arguments

SQM

SQM object to be subsetted.

samples

character. Samples to be included in the subset.

remove_missing

bool. If TRUE, ORFs, contigs, bins, taxa and functions absent from the selected samples will be removed from the subsetted object (default TRUE).

Value

SQM 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.


[Package SQMtools version 1.6.3 Index]