maxDistancegraphOnto: Maximum distance for a graph

View source: R/maxDistancegraphOnto.R

maxDistancegraphOntoR Documentation

Maximum distance for a graph

Description

Computes the maximum distance from any node to the root of the graph

Usage

maxDistancegraphOnto(graphOnto)

Arguments

graphOnto

A graphNEL graph with ‘m’ Ontology node labels.

Details

This function computes a distance matrix for a graph

Value

Named numeric array containing the distance from any node to the root.

Author(s)

Flavio E. Spetale <spetale@cifasis-conicet.gov.ar>

See Also

fMeasure

Examples

data(CfData)

mygraphGO <- as(CfData[["graphCfGO"]], "graphNEL")

maxDistancegraphOnto(mygraphGO)

fspetale/fgga documentation built on Jan. 29, 2024, 6:53 p.m.