do_stat_test: Do a statitical test

View source: R/do_stat_test.R

do_stat_testR Documentation

Do a statitical test

Description

Do a statitical test, t-test or Mann-Whitney U test

Usage

do_stat_test(
  lipid_data,
  group,
  group1_name,
  group2_name,
  normalization = c("raw", "tot_area"),
  transformation = c("none", "log10"),
  test
)

Arguments

lipid_data

tibble in tidy format

group

what column contains the group info

group1_name

is the name of group 1

group2_name

is the name of group 2

normalization

what normalization to use, none (raw data) or total area normalization

transformation

what transformation to use

test

do a t-test or Mann-Whitney U test

Value

a tibble ready for statistical testing

Author(s)

Rico Derks


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