probPTreeGivenTTree: Calculate the probability of a phylogenetic tree given a...

View source: R/RcppExports.R

probPTreeGivenTTreeR Documentation

Calculate the probability of a phylogenetic tree given a transmission tree

Description

Calculate the probability of a phylogenetic tree given a transmission tree

Usage

probPTreeGivenTTree(ctree, neg, w = integer(0))

Arguments

ctree

Combined phylogenetic/transmission tree

neg

Within-host coalescent rate

w

Vector of hosts for which to calculate the probability, or nothing for all

Value

Probability of phylogeny given transmission tree


xavierdidelot/TransPhylo documentation built on Sept. 28, 2023, 7:20 p.m.