Learn R Programming

microbial (version 0.0.19)

do_ttest: 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

Examples

Run this code
# NOT RUN {
{
data("mtcars")
do_ttest(mtcars,group="vs")
do_ttest(mtcars,group="cyl",ref="4")
}
# }

Run the code above in your browser using DataLab