my_add_vertices: Internal helper for vertex addition

Description Usage Arguments Author(s)

Description

A wrapper of igraph::add_vertex to avoid adding vertex refering to individuals already defined in the graph

Usage

1
2
my_add_vertices(graph, name = NULL, nv = 1, label = NULL,
  className = NULL, attr = NULL)

Arguments

graph

i-graph class graph on which the node is added (might be an empty graph if it is the initial Dataset node)

name

vertex name

nv

Integer. Number of vertices added. Default (and only sensible value) to 1.

label

A “rdfs:label” data property, useful for displaying the graph in visualization APIs

className

Character. Name of the class that the node blengs to. Requires prefix inclusion (e.g. className = "ds:DatasetSubset")

description

Optional. Description of the node (actually unused but for developer internal checks)

Author(s)

J Bedia


Predictia/metaclipR documentation built on May 14, 2019, 6:07 a.m.