Data Normalization not only normalizes data by samples, but also scales data by variable/feature. Data scaling adjusts each variable/feature by a scaling factor computed based on the dispersion of the variable. The former is to change data distribution per sample and the latter is to put variable/feature into same distribution.
(Required). a phyloseq::phyloseq
or
SummarizedExperiment::SummarizedExperiment
object.
(Optional). character. Summarization
level (from rank_names(pseq)
, default: NULL).
(Optional). character. scaling methods. Options are:
"none", return the original data
"mean_center": values minus mean statistic.
"zscore": mean-centered and divided by the standard deviation of each variable.
"pareto": mean-centered and divided by the square root of the standard deviation of each variable.
"range": mean-centered and divided by the range of each variable. (default: "none").
A phyloseq::phyloseq
or
SummarizedExperiment::SummarizedExperiment
object with cleaned data.