make_clade_corr_grid: Construct a grid of 'all vs all' correlations for a list of K...

View source: R/matrix_building_functions.r

make_clade_corr_gridR Documentation

Construct a grid of 'all vs all' correlations for a list of K clades on n taxa.

Description

Construct a grid of 'all vs all' correlations for a list of K clades on n taxa.

Usage

make_clade_corr_grid(Clades, n, diagonal = FALSE, ncores = 2)

Arguments

Clades

a character vector with all clades to be included.

n

number of taxa.

diagonal

logical. If TRUE includes the diagonal entries, which should all be 1 (default is FALSE).

ncores

number of cores to be used.

Value

a grid of correlations between all clades.

Examples

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

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