Learn R Programming

DAPAR (version 1.4.7)

diffAnaWelch: Performs a differential analysis on a MSnSet object using the Welch t-test

Description

Computes differential analysis on an MSnSet object, using the Welch t-test (t.test{stats}).

Usage

diffAnaWelch(qData, labels, condition1, condition2)

Arguments

qData
A dataframe that contains quantitative data.
labels
A vector of the conditions (labels) (one label per sample).
condition1
A vector containing the names of the conditions qData as condition 1
condition2
A vector containing the names of the conditions considered as condition 2

Value

A dataframe with two slots : P.Value (for the p-value) and logFC (the log of the Fold Change).

Examples

Run this code
data(UPSpep25)
condition1 <- '25fmol'
condition2 <- '10fmol'
qData <- Biobase::exprs(UPSpep25)
labels <- Biobase::pData(UPSpep25)[,"Label"]
diffAnaWelch(qData, labels, condition1, condition2)

Run the code above in your browser using DataLab