Learn R Programming

MSbox (version 1.4.8)

doStat: Performing statistics

Description

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

Usage

doStat(x, Group = NULL)

Value

a dataframe with statistical information

Arguments

x

sample ion intensity matrix, row sample, column feature.

Group

sample group information

Examples

Run this code
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)

Run the code above in your browser using DataLab