get_consensus: Get the consensus transmission tree

View source: R/get_consensus.R

get_consensusR Documentation

Get the consensus transmission tree

Description

Computes the most frequent ancestor for each case across the posterior sample.

Usage

get_consensus(out)

Arguments

out

An object of class outbreaker_chains

Value

A data frame showing the most frequent ancestor for each case.

Examples

get_consensus(out)


o2ools documentation built on June 8, 2025, 10:18 a.m.