compute.t.tests {DAPAR} | R Documentation |
This function is xxxxxx
## S3 method for class 't.tests' compute(qData, Conditions, Contrast = "OnevsOne", type = "Student")
qData |
A matrix of quantitative data, without any missing values. |
Conditions |
A vector of factor which indicates the name of the biological condition for each replicate. |
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 |
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.
Florence Combes, Samuel Wieczorek
require(DAPARdata) data(Exp1_R25_pept) obj <- Exp1_R25_pept[1:1000] lapala <- findMECBlock(obj) obj <- wrapper.impute.detQuant(obj) obj <- reIntroduceMEC(obj, lapala) obj <- wrapper.impute.detQuant(obj) ttest <- compute.t.tests(Biobase::exprs(obj), Biobase::pData(obj)[,"Condition"],1)