Learn R Programming

disco (version 0.6)

makeSummary: Common modules in specified comparisons

Description

Summarize numbers of enriched modules in an unrestricted number of comparisons and list all the modules that belong to intersection of specified comparisons.

Usage

makeSummary(...)

Arguments

...

any number of data frames created as a result of tmodCERNOtest functions

Value

list of two elements: RowN - list, each element of it contains number of rows in every subsequent comparison, int character vector with IDs of all modules belonging to the intersection of comparisons provided as the input

Examples

Run this code
# NOT RUN {
library(tmod)
data(tmod)
data(orthologs)
disco <- disco.score(orthologs)
g <- toupper(orthologs$genes)
concordant <- tmodCERNOtest(g[order(disco, decreasing = TRUE)])
discordant <- tmodCERNOtest(g[order(disco)])
sum1 <- makeSummary(concordant, discordant)
# }

Run the code above in your browser using DataLab