Learn R Programming

irtrees (version 1.0.0)

graph2mx: Convert a tree to a mapping matrix

Description

Convert a tree description in mermaid format into a mapping matrix that can be used with the remaining functions in the package.

Usage

graph2mx(td)

Arguments

td

tree description in mermaid format

Value

the mapping matrix