Learn R Programming

TreeSearch (version 0.3.2)

JointInformation: Joint Information of two splits

Description

Calculates the joint phylogenetic information content of two splits: that is, the information content of the two splits considered separately, minus their mutual information (which would otherwise be counted twice).

Usage

JointInformation(A1A2, A1B2, B1A2, B1B2)

Arguments

A1A2, A1B2, B1A2, B1B2

Number of taxa common to splits A1 and A2 (etc.).

Value

JointInformation returns the joint phylogenetic information content of two splits, measured in bits.

Details

Because some information is common to both splits (SplitMutualInformation), the joint information of two splits will be less than the sum of the information of the splits taken separately -- unless the splits are contradictory.

Split Y1 is defined as dividing taxa into the two sets A1 and B1, and Y2=A2:B2.

Consider partitions that divide eight terminals, labelled A to H.

Bipartition 1: ABCD:EFGH A1 = ABCD B1 = EFGH

This can be represented by an association matrix:

A2 B2
A1 ABC D

The joint information is given by JointInformation(3, 1, 0, 4).

Examples

Run this code
# NOT RUN {
JointInformation(3, 1, 0, 4)

# }

Run the code above in your browser using DataLab