| transform_pq | R Documentation |
Single entry-point for all count-table transformations available in
MiscMetabar. Ecological methods ("tss", "hellinger", "clr",
"rclr", "log1p", "z", "pa", "rank") are delegated to
vegan::decostand(). Library-size normalisation methods ("rarefy",
"srs", "gmpr", "css", "tmm", "vst") and the McKnight
log-log residual method ("mcknight_residuals") are delegated to
their dedicated *_pq() functions. All ... arguments are forwarded
to the underlying function.
transform_pq(
physeq,
method = c("tss", "hellinger", "clr", "rclr", "log1p", "z", "pa", "rank",
"normalize_prop", "rarefy", "srs", "gmpr", "css", "tmm", "vst", "mcknight_residuals"),
pseudocount = 1,
...
)
physeq |
(required) a |
method |
(character, default
|
pseudocount |
(numeric, default |
... |
Additional arguments forwarded to the underlying function
( |
A new phyloseq-class object with a
transformed otu_table (and augmented sample_data for
"mcknight_residuals").
Adrien Taudière
normalize_prop_pq(), rarefy_pq(), srs_pq(), gmpr_pq(),
css_pq(), tmm_pq(), vst_pq(), mcknight_residuals_pq(),
as_binary_otu_table(), vegan::decostand()
data_f_tss <- transform_pq(data_fungi_mini, method = "tss")
sample_sums(data_f_tss)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.