layout.arc: Layouts a graph using arcs.

Description Usage Arguments Value Author(s)

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. 8, 2020, 5:52 p.m.