This function sums up lipid species abundance according to lipid characteristics, which converts the lipid species abundance table to the lipid characteristic abundance table.

convert_sp2char(processed_se, transform = c("none", "log10", "square", "cube"))

Arguments

processed_se

A SummarizedExperiment object constructed by as_summarized_experiment and processed by data_process.

transform

Character. Method for data transformation. Allowed methods include "none", "log10", "square", and "cube". Select 'none' to skip data transformation. Default is 'log10'.

Value

Return a SummarizedExperiment object.

Examples

data("de_data_twoGroup")
processed_se <- data_process(
    de_data_twoGroup, exclude_missing=TRUE, exclude_missing_pct=70,
    replace_na_method='min', replace_na_method_ref=0.5,
    normalization='Percentage')
char_data <- convert_sp2char(processed_se, transform='log10')