pval: Generate p-values for a vector of t-statistics

Description Usage Arguments Value Author(s)

View source: R/functions-xcmsSet.R

Description

Generate p-values for a vector of Welch's two-sample t-statistics based on the t distribution.

Usage

1
pval(X, classlabel, teststat)

Arguments

X

original data matrix

classlabel

integer vector with classlabel

teststat

numeric vector with Welch's two-sample t-statistics

Value

A numeric vector of p-values.

Author(s)

Colin A. Smith, csmith@scripps.edu


yclement/xcms documentation built on April 10, 2020, 12:08 a.m.