R: Compute parent matrix from possibles daughter matrices.

matrix_of_possibles {PhylogeneticEM} | R Documentation

## Compute parent matrix from possibles daughter matrices.

### Description

`matrix_of_possibles` is used in function `update.enumerate_parsimony` to compute, from the list of possible matrices for the daughters, the matrix for the node (a group for the parent being fixed).

### Usage

    matrix_of_possibles(matrices)

### Arguments

`matrices` | a list of matrices with ndaughters entries.

### Details

This function select all possible combinations of rows from all the daughters, and merge then into one using function `merge_complementary_vectors`.

### Value

Matrix of all possible regimes for the subtree bellow node parent.

[Package PhylogeneticEM version 1.1.0 Index]