do_ttest: do t.test

View source: R/misc.R

do_ttestR Documentation

do t.test

Description

do t.test

Usage

do_ttest(x, group, ref = NULL, ...)

Arguments

x

data.frame with sample id as the column name, genes or otu as rownames

group

group factor used for comparison

ref

reference group

...

parameters to t_test

Author(s)

Kai Guo

Examples

{
data("mtcars")
do_ttest(mtcars,group="vs")
do_ttest(mtcars,group="cyl",ref="4")
}

guokai8/microbial documentation built on Oct. 15, 2024, 11:32 p.m.