Layouts a graph using arcs.

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.