compatible: Returns whether two clades are compatible

View source: R/auxiliary_functions.r

compatibleR Documentation

Returns whether two clades are compatible

Description

Returns whether two clades are compatible

Usage

compatible(x, y)

Arguments

x

a clade.

y

a clade.

Value

logical. TRUE if x and y are compatible and FALSE otherwise.

Examples

compatible(x = "{t1,t2}", y = "{t1,t3,t4}")
compatible(x = "{t1,t2}", y = "{t1,t2,t4}")

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