birewire.similarity.dsg {BiRewire}R Documentation

Compute the Jaccard similarity index between dsg.

Description

Compute the Jaccard similarity index between dsg objects described in the same way (matrices of graphs).

Usage

birewire.similarity.dsg( m1,m2)

Arguments

m1

First dsg;

m2

Second dsg.

Details

See birewire.similarity for more details.

Value

Returns the Jaccard similarity index between the objects.

Author(s)

Andrea Gobbi
Maintainer: Andrea Gobbi <gobbi.andrea@mail.com>

Examples


library(BiRewire)
data(test_dsg)
dsg <-  birewire.induced.bipartite(test_dsg,sparse=FALSE)
birewire.similarity.dsg(dsg,birewire.rewire.dsg(dsg))
dsg <-  birewire.induced.bipartite(test_dsg,sparse=TRUE)
birewire.similarity.dsg(dsg,birewire.rewire.dsg(dsg))

[Package BiRewire version 3.24.0 Index]