leaf_scores: Extract leaf scores of vertex pairs

View source: R/extract.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 Oct. 5, 2023, 5:08 p.m.

Related to leaf_scores in vistla...