Skip to contents

Get FC and p values from a t test contrast

Usage

get_stats(
  data,
  feature,
  grouping,
  group_case,
  group_ref,
  paired,
  min_groupsize = 3,
  log_transform = FALSE
)

Arguments

data

data.frame or tibble

feature

feature

grouping

grouping

group_case

case group

group_ref

reference group

paired

paired data

min_groupsize

min group size for t test

log_transform

log transform before t test

Value

tibble with p values, fdr and log2FC