amalgamate_deps: Generates a graph and model for traits given a dependency...

View source: R/auto_functions.R

amalgamate_depsR Documentation

Generates a graph and model for traits given a dependency matrix

Description

Generates a graph and model for traits given a dependency matrix

Usage

amalgamate_deps(dep_mat)

Arguments

dep_mat

A dependency matrix

Details

The dependency matrix can come from 'rphenoscape::pa_dep_matrix' or be user generated

Value

A list of: $M Transition matrices for the Structured-Hidden State Markov Models that can be run in RevBayes, corHMM or other tools $graph The full graph of all dependencies among traits $con.comp A list of the group membership etc. produced by 'igraph::components' $traits The old trait names that were amalgamated $new.traits The new names of the amalgamated trait names $depstates A list providing the dependencies of all characters


phenoscape/scate-shortcourse documentation built on Feb. 5, 2023, 12:59 a.m.