Edistance_matrix: Moleculors edge distance matrix

Description Usage Value Examples

View source: R/Molecular_graph_V01.R

Description

This function takes as input the Eadjancency matrix and compute, using the same algorithm used for the vertexes, the distance matrix for the edges. This is done by computing a connection vector that states with which edge each edge is connected than it loop through each connection to find the wanted connection 'e.g. elemij It loop through the connection of 1 until it find the element j, increasing the distance at each loop'

Usage

1

Value

Edge distance matrix for the loaded molecule. Matrix is stored in Mol_mat environment.

Examples

1

FedericoViv/Moleculors documentation built on Jan. 17, 2022, 12:23 a.m.