row_ttest: Perform a Welch two-sided t-test comparison between two...

View source: R/Main_functions.R

row_ttestR Documentation

Perform a Welch two-sided t-test comparison between two groups by row

Description

Perform a Welch two-sided t-test comparison between two groups by row

Usage

row_ttest(df, idx_group_1, idx_group_2, log = TRUE, ...)

Arguments

df

a data frame

idx_group_1

column indexes corresponding to the first group

idx_group_2

column indexes corresponding to the second group

log

option to perform the t-test on log transformed data

...

parameters passed to stats::t.test()

Value

A data frame with columns 'p_val' and 'fold_change' (group_1 vs group_2)


VoisinneG/InteRact documentation built on May 17, 2022, 11:40 p.m.