compute_t_tests: xxxxxx

Description Usage Arguments Value Author(s) Examples

View source: R/compute.t.tests.R

Description

This function is xxxxxx

Usage

1
compute_t_tests(obj, contrast = "OnevsOne", type = "Student")

Arguments

obj

A matrix of quantitative data, without any missing values.

contrast

Indicates if the test consists of the comparison of each biological condition versus each of the other ones (contrast=1; for example H0:"C1=C2" vs H1:"C1!=C2", etc.) or each condition versus all others (contrast=2; e.g. H0:"C1=(C2+C3)/2" vs H1:"C1!=(C2+C3)/2", etc. if there are three conditions).

type

xxxxx

Value

A list of two items : logFC and P_Value; both are dataframe. The first one contains the logFC values of all the comparisons (one column for one comparison), the second one contains the pvalue of all the comparisons (one column for one comparison). The names of the columns for those two dataframes are identical and correspond to the description of the comparison.

Author(s)

Florence Combes, Samuel Wieczorek

Examples

1
2
3
4
5
utils::data(Exp1_R25_pept, package='DAPARdata')
obj <- Exp1_R25_pept[1:1000]
keepThat <- mvFilterGetIndices(obj, condition='WholeMatrix', threshold=ncol(obj))
obj <- mvFilterFromIndices(obj, keepThat)
ttest <- compute_t_tests(obj)

DAPAR documentation built on April 11, 2021, 6 p.m.