do_ttest {microbial}R 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")
}

[Package microbial version 0.0.21 Index]