layout.arc: Layouts a graph using arcs.

Description Usage Arguments Value Author(s)

View source: R/layout.R

Description

Generates a layout for graphs that places in the center the target transcription factors, in the sides the enriched transcription factors and in between of them the bridge proteins.

Usage

1
layout.arc(g, target, query)

Arguments

g

the graph object to layout.

target

list of target nodes (typically target transcription factors.)

query

list of query nodes (typically enriched transcription factors.)

Value

A matrix with the x and y locations of each node in the target graph.

Author(s)

Diego Diez


rTRM documentation built on Nov. 17, 2017, 8:20 a.m.