This function calculates two-way ANOVA for all lipid characteristics.
A SummarizedExperiment object constructed by
as_summarized_experiment
and processed by data_process
.
Character. Method for transform the ratio-based abundance.
Allowed methods include "none" and "log2". Select 'none' to skip data transformation.
Default is 'log2'
.
Character. Method for transform the lipid
characteristics-based abundance. Allowed methods include "none", "log10",
"square", and "cube". Select 'none' to skip data transformation. Default is 'log10'
.
Return 1 table with two-way ANOVA results.
data("de_data_twoGroup")
processed_se_twoGroup <- data_process(
se=de_data_twoGroup, exclude_missing=TRUE, exclude_missing_pct=70,
replace_na_method='min', replace_na_method_ref=0.5,
normalization='Percentage')
twoWayAnova_twoGroup <- char_2wayAnova(
processed_se_twoGroup, ratio_transform='log2', char_transform='log10')
#> There are 4 ratio characteristics that can be converted in your dataset.
data("se_multiGroup")
processed_se_multiGroup <- data_process(
se=se_multiGroup, exclude_missing=TRUE, exclude_missing_pct=70,
replace_na_method='min', replace_na_method_ref=0.5,
normalization='Percentage')
twoWayAnova_multiGroup <- char_2wayAnova(
processed_se_multiGroup, ratio_transform='log2', char_transform='log10')
#> There are 4 ratio characteristics that can be converted in your dataset.