Learn R Programming

MSbox (version 1.4.8)

getP: get p-values

Description

get p-values from Post Hoc analysis

Usage

getP(x, Group = NULL)

Value

a data frame

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)
myGroup <- rep_len(LETTERS[1:3], 300)
out <- getP(dat, Group = myGroup)

Run the code above in your browser using DataLab