View source: R/table_functions.R
compare_pairs_pq | R Documentation |
For the moment refseq slot need to be not Null.
compare_pairs_pq(
physeq = NULL,
bifactor = NULL,
modality = NULL,
merge_sample_by = NULL,
nb_min_seq = 0,
veg_index = "shannon",
na_remove = TRUE
)
physeq |
(required): a |
bifactor |
(required) a factor (present in the |
modality |
the name of the column in the |
merge_sample_by |
a vector to determine
which samples to merge using the
|
nb_min_seq |
minimum number of sequences per sample to count the ASV/OTU |
veg_index |
(default: "shannon") index for the |
na_remove |
(logical, default TRUE) If set to TRUE, remove samples with NA in the variables set in bifactor, modality and merge_sample_by. NA in variables are well managed even if na_remove = FALSE, so na_remove may be useless. |
A tibble with information about the number of shared ASV, shared number of sequences and diversity
data_fungi_low_high <- subset_samples(data_fungi, Height %in% c("Low", "High"))
compare_pairs_pq(data_fungi_low_high, bifactor = "Height", merge_sample_by = "Height")
compare_pairs_pq(data_fungi_low_high,
bifactor = "Height",
merge_sample_by = "Height", modality = "Time"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.