make_clade_joint_mat: Build the matrix of joint probabilities for a list of K...

View source: R/matrix_building_functions.r

make_clade_joint_matR Documentation

Build the matrix of joint probabilities for a list of K clades on n taxa.

Description

Build the matrix of joint probabilities for a list of K clades on n taxa.

Usage

make_clade_joint_mat(Clades, n, ncores = 2)

Arguments

Clades

a character vector with all K clades to be included.

n

number of taxa.

ncores

number of cores to be used.

Value

a K x K matrix of joint probabilities.

Examples

clades.n4 <- make_all_clades(4)
make_clade_joint_mat(Clades = clades.n4, n = 4)

maxbiostat/cladeCorrelation documentation built on July 28, 2023, 2:42 a.m.