update_graph {fossilbrush}R Documentation

update_graph

Description

Function to update the structure of a graph, given a set of modification as returned by assess_duplicates

Usage

update_graph(x, del = NULL, add = NULL, changes = NULL)

Arguments

x

a tgraph object to modify

del

A vector of element names or numbers to delete

add

An edge sequence of edges to add to the graph

changes

Alternatively, the output of assess_duplicates, containing proposed deletions and additions

Value

An updated tgraph object


[Package fossilbrush version 1.0.3 Index]