Checks if a transmission tree meets specific topology criteria for our test.
The tree must be a directed acyclic graph (DAG), weakly connected, and have at most one infector per node.
Usage
validate_tree(tree)
Value
Invisible TRUE if the tree is valid. Throws an error if invalid.
Arguments
tree
A data frame with columns from and to representing the transmission tree.