Constructor for ExpressionResultSet
Source:R/Class-ExpressionResultSet.R
createExpressionResultSet.RdConstructor for ExpressionResultSet
Examples
res_list <- list(
edgeR = data.frame(gene = c("g1", "g2"), logFC = c(1.2, -0.4)),
DESeq2 = NULL
)
obj <- createExpressionResultSet(
results = res_list,
methodNames = c("edgeR", "DESeq2"),
parameters = list(alpha = 0.05),
consensus = list(g1 = TRUE)
)
obj
#> ExpressionResultSet object
#> Methods executed: edgeR, DESeq2
#> Result tables: 2
#> Consensus: available (1 gene(s))
summary(obj)
#> Summary of ExpressionResultSet
#> ---------------------------------
#> Methods used: edgeR, DESeq2
#> Number of result tables: 2
#> Average number of DEGs per method: 1.00
#> Number of genes in consensus: 1