diffAnaWelch {DAPAR} | R Documentation

## 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).

### Author(s)

Florence Combes, Samuel Wieczorek

### Examples

    require(DAPARdata)
    data(Exp1_R25_pept)
    condition1 <- '25fmol'
    condition2 <- '10fmol'
    qData <- Biobase::exprs(Exp1_R25_pept[1:1000])
    labels <- Biobase::pData(Exp1_R25_pept[1:1000])[,"Label"]
    diffAnaWelch(qData, labels, condition1, condition2)

[Package DAPAR version 1.10.4 Index]