spec.probmat: Matrix of pairwise posterior probabilities of conspecificity

View source: R/spec.probmat.R

spec.probmatR Documentation

Matrix of pairwise posterior probabilities of conspecificity

Description

Computes the marginal posterior probability that each pair of tips belongs to the same species, pooling over all retained MCMC samples (and, for "multibgmyc", over all trees). Samples are aggregated by unique threshold instead of looping over every retained sample, which is much faster on large outputs.

Usage

spec.probmat(res)

Arguments

res

Output of bgmyc.singlephy() or bgmyc.multiphylo().

Value

A square matrix of class "bgmycprobmat" with tip-label dimnames; the diagonal is always 1.


bGMYC4 documentation built on Nov. 23, 2026, 5:07 p.m.