make_clade_corr_mat: Build the correlation matrix for a list of K clades on 'n'...

View source: R/matrix_building_functions.r

make_clade_corr_matR Documentation

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

Description

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

Usage

make_clade_corr_mat(Clades, n, ncores = 2)

Arguments

Clades

a character vector with all clades to be included.

n

number of taxa.

ncores

number of cores to be used.

Value

a K x K correlation matrix.

Examples

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

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