make_clade_cov_mat: Build the variance-covariance matrix for a list of K clades...

View source: R/matrix_building_functions.r

make_clade_cov_matR Documentation

Build the variance-covariance matrix for a list of K clades on n taxa.

Description

Build the variance-covariance matrix for a list of K clades on n taxa.

Usage

make_clade_cov_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 covariances.

Examples

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

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