Get_AllComparisons: Returns list that contains a list of the statistical tests...

View source: R/DiffAnalysis.R

Get_AllComparisonsR Documentation

Returns list that contains a list of the statistical tests performed with DAPAR and recorded in an object of class MSnSet.

Description

This method returns a list of the statistical tests performed with DAPAR and recorded in an object of class MSnSet.

Usage

Get_AllComparisons(obj)

Arguments

obj

An object of class MSnSet.

Value

A list of two slots: logFC and P_Value

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_prot, package="DAPARdata")
obj <- Exp1_R25_prot[seq_len(1000)]
level <- GetTypeofData(obj)
metacell.mask <- match.metacell(GetMetacell(obj), c("Missing POV", "Missing MEC"), level)
indices <- GetIndices_WholeMatrix(metacell.mask, op = ">=", th = 1)
obj <- MetaCellFiltering(obj, indices, cmd = "delete")
qData <- Biobase::exprs(obj$new)
sTab <- Biobase::pData(obj$new)
allComp <- limmaCompleteTest(qData, sTab)
data <- list(logFC = allComp$logFC[1], P_Value = allComp$P_Value[1])
obj$new <- diffAnaSave(obj$new, allComp, data)
ll <- Get_AllComparisons(obj$new)


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.