This function provides three distribution plots for users to view sample variability and compare lipids' amount/abundance difference between samples (i.e., patients vs. control).

cross_sample_variability(se)

Arguments

se

A SummarizedExperiment object construct by as_summarized_experiment.

Value

Return a list of 3 interactive plots, 3 static plots, and 2 tables.

  1. interactive_lipid_number_barPlot & static_lipid_number_barPlot: histogram of lipid numbers.

  2. interactive_lipid_amount_barPlot & static_lipid_amount_barPlot: histogram of the total amount of lipid in each sample.

  3. interactive_lipid_distribution & static_lipid_distribution: density plot of the underlying probability distribution of the lipid abundance in each sample.

  4. table_total_lipid: table for plotting lipid_number_barPlot & lipid_amount_barPlot.

  5. table_lipid_distribution: table for plotting lipid_distribution.

Examples

data("profiling_data")
result <- cross_sample_variability(profiling_data)