Last data update: 2014.03.03

R: functions to visualize interactions as a graph
InteractGraphR Documentation

functions to visualize interactions as a graph

Description

visualizes significant interactions as a graph

Usage


InteractGraph(toptable,thresh,sizecutoff=0,by,key=FALSE,file="interactions",colors = list(neg="blue",pos="yellow",key="brown",node="grey"))

Arguments

toptable

toptable table from function topTable

thresh

thresh numeric, threshold for significance

sizecutoff

sizecutoff a minimal absolute size of a interaction for it to be included in the graph as an edge.

by

by column in topTable that thresh should be applied to

key

key optional, data frame with groupings of the genes in the toptable

file

file name of the file the results will be outputed to.

colors

colors list with colors to be used for pos interactions, neg interactions, key (nodes in key) and normal nodes.

Value

pdf file with graph

Author(s)

Elin Axelsson

See Also

levelplot

Examples

#see vignette

Results