leaf_scores: Extract leaf scores of vertex pairs

View source: R/vistla.R

leaf_scoresR Documentation

Extract leaf scores of vertex pairs

Description

Produces a matrix S where S_{ij} is a score of the path ending in vertices i and j. Since vistla works on vertex pairs, this value is unique. This can be interpreted as a feature similarity matrix in context of the current vistla root.

Usage

leaf_scores(x)

Arguments

x

vistla object.

Value

A square matrix with leaf scores of all feature pairs.

Note

This function should be called on an unpruned vistla tree, otherwise the result will be mostly composed of zeroes.


vistla documentation built on Sept. 28, 2024, 1:08 a.m.

Related to leaf_scores in vistla...