doStat: Performing statistics

View source: R/doStat.R

doStatR Documentation

Performing statistics

Description

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

Usage

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

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)

YonghuiDong/MSbox documentation built on Jan. 12, 2023, 3:48 p.m.