Skip to contents

[Deprecated]

graphlets.project() was renamed to graphlet_proj() to create a more consistent API.

Usage

graphlets.project(
  graph,
  weights = NULL,
  cliques,
  niter = 1000,
  Mu = rep(1, length(cliques))
)

Arguments

graph

The input graph, edge directions are ignored. Only simple graph (i.e. graphs without self-loops and multiple edges) are supported.

weights

Edge weights. If the graph has a weight edge attribute and this argument is NULL (the default), then the weight edge attribute is used.

cliques

A list of vertex IDs, the graphlet basis to use for the projection.

niter

Integer scalar, the number of iterations to perform.

Mu

Starting weights for the projection. The default NULL uses a weight of one for each clique.

graphlets_project(), edges(), get_eids(), vcount(), ecount()