doStat: Performing statistics

Description Usage Arguments Value Examples

View source: R/doStat.R

Description

performing statistics, including calculating fold change, p-values and VIP values

Usage

1
doStat(x, Group = NULL)

Arguments

x

sample ion intensity matrix, row sample, column feature.

Group

sample group information

Value

a dataframe with statistical information

Examples

1
2
3
4
dat <- matrix(runif(2*300), ncol = 2, nrow = 300)
rownames(dat) <- 1:dim(dat)[1]
myGroup <- rep_len(LETTERS[1:3], 300)
ret <- doStat(dat, Group = myGroup)

MSbox documentation built on May 25, 2021, 5:06 p.m.