View source: R/dada_phyloseq.R
filt_taxa_pq | R Documentation |
Basically a wraper of subset_taxa_pq()
.
filt_taxa_pq(
physeq,
min_nb_seq = NULL,
min_occurence = NULL,
combination = "AND",
clean_pq = TRUE
)
physeq |
(required): a |
min_nb_seq |
(int default NULL) minimum number of sequences by taxa. |
min_occurence |
(int default NULL) minimum number of sample by taxa. |
combination |
Either "AND" (default) or "OR". If set to "AND" and both min_nb_seq and min_occurence are not NULL, the taxa must match the two condition to passe the filter. If set to "OR", taxa matching only one condition are kept. |
clean_pq |
(logical) If set to TRUE, empty samples and empty taxa (ASV, OTU) are discarded after filtering. |
a new phyloseq object
Adrien Taudière
filt_taxa_pq(data_fungi, min_nb_seq = 20)
filt_taxa_pq(data_fungi, min_occurence = 2)
filt_taxa_pq(data_fungi,
min_occurence = 2,
min_nb_seq = 10, clean_pq = FALSE
)
filt_taxa_pq(data_fungi,
min_occurence = 2,
min_nb_seq = 10,
combination = "OR"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.