Skip to contents

Calculates SNN from adjacency matrix with uneven number of neighbours per row.

Usage

ComputeSNNasym(SNN, prune, mode)

Arguments

SNN

A sparse matrix (adjacency matrix)

prune

numeric. Below which Jaccard similarity edges should be removed.

mode

The type of neighboring vertices to use for calculating similarity ' scores(Jaccard Index). Three options: "out", "in" and "all": ' * "out": Select neighbouring vertices by out-going edges; ' * "in": Selecting neighbouring vertices by in-coming edges; ' * "all": Selecting neigbouring vertices by both in-coming and out-going edges.