subset_taxa_tax_control {MiscMetabar} | R Documentation |
Subset taxa using a taxa control (e.g. truffle root tips) through 3 methods.
Description
Usage
subset_taxa_tax_control(
physeq,
taxa_distri,
method = "mean",
min_diff_for_cutoff = NULL
)
Arguments
physeq |
(required): a |
taxa_distri |
(required) a vector of length equal to the number of samples with the number of sequences per samples for the taxa control |
method |
(default: "mean") a method to calculate the cut-off value. There is 6 available methods:
|
min_diff_for_cutoff |
(int) argument for method |
Value
A new phyloseq-class
object.
Author(s)
Adrien Taudière
Examples
subset_taxa_tax_control(data_fungi,
as.numeric(data_fungi@otu_table[, 300]),
min_diff_for_cutoff = 2
)