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)
A SummarizedExperiment object construct by as_summarized_experiment
.
Return a list of 3 interactive plots, 3 static plots, and 2 tables.
interactive_lipid_number_barPlot & static_lipid_number_barPlot: histogram of lipid numbers.
interactive_lipid_amount_barPlot & static_lipid_amount_barPlot: histogram of the total amount of lipid in each sample.
interactive_lipid_distribution & static_lipid_distribution: density plot of the underlying probability distribution of the lipid abundance in each sample.
table_total_lipid: table for plotting lipid_number_barPlot & lipid_amount_barPlot.
table_lipid_distribution: table for plotting lipid_distribution.
data("profiling_data")
result <- cross_sample_variability(profiling_data)