do_ttest: Do a t-test on all lipids

View source: R/do_ttest.R

do_ttestR Documentation

Do a t-test on all lipids

Description

Do a t-test on all lipids.

Usage

do_ttest(lipid_data)

Arguments

lipid_data

tibble in tidy format, already nested

Details

A t-test will be done for each lipid. Also the p-value will be corrected for multiple testing.

Value

a tibble with the results and the following columns model_test contains the model information for each lipid (nested) pvalue contains the uncorrected pvalue pvalue_cor contains the corrected pvalue fc the fold change estimate1/estimate2

Author(s)

Rico Derks


ricoderks/lipidomics documentation built on Nov. 10, 2024, 2:30 a.m.