position-methods: Returns the position of edges in the network

position-methodsR Documentation

Returns the position of edges in the network

Description

Returns the position of edges in the network Retrieve network position for consistent plotting. Utility function to plot networks.

Usage

## S4 method for signature 'omics_network'
position(net, nv = 0)

Arguments

net

a omics_network object

nv

the level of cutoff at which the analysis should be done

Value

Matrix with as many rows as the number of edges of the network and three columns (name, xcoord, ycoord).

Methods

list("signature(net = \"omics_network\")")

Returns a matrix with the position of the node. This matrix can then be used as an argument in the plot function.

Author(s)

Bertrand Frederic, Myriam Maumy-Bertrand.

Examples


data(network)
position(network)


fbertran/Patterns documentation built on Dec. 8, 2022, 8:48 p.m.