prepareCytoscape: Prepare files for building an enrichment map network...

Description Usage Arguments Value

View source: R/cytoscape.r

Description

This function writes four text files that are used to build an network using Cytoscape and the EnrichmentMap app. The files are prefixed with cytoscape.file.tag. The four files written are:

pathways.txt

A list of significant terms and the associated p-value. Only terms with adjusted.p.val <= significant are written to this file

subgroups.txt

A matrix indicating whether the significant pathways are found to be significant when considering only one column (i.e., type of omics evidence) from scores. A 1 indicates that that term is significant using only that column to test for enrichment analysis

pathways.gmt

A shortened version of the supplied GMT file, containing only the terms in pathways.txt.

legend.pdf

A legend with colours matching contributions from columns in scores

Usage

1
prepareCytoscape(terms, gmt, cytoscape.file.tag, col.significance)

Arguments

terms

A data.table object with the columns 'term.id', 'term.name', 'adjusted.p.val'.

gmt

An abridged GMT object containing only the pathways that were found to be significant in the ActivePathways analysis.

cytoscape.file.tag

The user-defined file prefix and/or directory defining the location of the files.

col.significance

A data.table object with a column 'term.id' and a column for each type of omics evidence indicating whether a term was also found to be signficiant or not when considering only the genes and p-values in the corresponding column of the scores matrix. If term was not found, NA's are shown in columns, otherwise the relevant lists of genes are shown.

Value

None


ActivePathways documentation built on July 10, 2020, 1:12 a.m.