MatrixData: Matrix data

MatrixDataR Documentation

Matrix data

Description

Generates and summarises data from a states_matrix that has been output by apply.reconstruction.

Usage

MatrixData(states_matrix, fitch_states = states_matrix, state.labels)

Arguments

states_matrix

The output of apply.reconstruction

fitch_states

The output of apply.reconstruction(method='Fitch')

state.labels

Character vector translating tokens into characer states, e.g. c('0: Absent', '1: Present')

Value

A list summarising details of the matrix, with named entries; edge_col (edge colours); edge_col_array (formatted as a Javascript array), legend (detailing what colours mean); legend_col (colour for legend entries); tips_labels; tips_colours; dud_steps (Steps reconstructed by Fitch, but not the inapplicable algorithm)

Author(s)

Martin R. Smith


TGuillerme/Inapp documentation built on Feb. 4, 2024, 7:26 a.m.