track_wkflow {MiscMetabar} | R Documentation |
Track the number of reads (= sequences), samples and cluster (e.g. ASV) from various objects including dada-class and derep-class.
Description
List of fastq and fastg.gz files -> nb of reads and samples
List of dada-class -> nb of reads, clusters (ASV) and samples
List of derep-class -> nb of reads, clusters (unique sequences) and samples
Matrix of samples x clusters (e.g.
otu_table
) -> nb of reads, clusters and samplesPhyloseq-class -> nb of reads, clusters and samples
Usage
track_wkflow(
list_of_objects,
obj_names = NULL,
clean_pq = FALSE,
taxonomy_rank = NULL,
...
)
Arguments
list_of_objects |
(required) a list of objects |
obj_names |
A list of names corresponding to the list of objects |
clean_pq |
(logical) If set to TRUE, empty samples and empty ASV are discarded before clustering. |
taxonomy_rank |
A vector of int. Define the column number of
taxonomic rank |
... |
Other arguments passed on to |
Value
The number of sequences, clusters (e.g. OTUs, ASVs) and samples for each object.
See Also
Examples
data(enterotype)
if (requireNamespace("pbapply")) {
track_wkflow(list(data_fungi, enterotype), taxonomy_rank = c(3, 5))
}