layout.arc {rTRM}R Documentation

Layouts a graph using arcs.

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

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


[Package rTRM version 1.32.0 Index]