annotateFreq {rTRM} | R Documentation

## Annotate a graph with frequency of nodes/edges in other graphs.

### Description

Returns an annotated graph with node size and edge width proportional at the number of occurrences of nodes/edges in a suplied list of graphs.

### Usage

    annotateFreq(g, graph_list)

### Arguments

`g` | target graph to annotate.
`graph_list` | list of graph to extract information from.

### Details

Commonly graph_list refers to a list of predicted TRMs (with findTRM) and g is the combined TRM. This function annotates the nodes/edges in g to known their frequency in the original list of graphs.

### Author(s)

Diego Diez

[Package rTRM version 1.18.0 Index]