Skip to contents

Make a Super Distance Matrix (SDM) from a list of good matrices obtained with get_goodmatrices()

Usage

make_sdm(unpadded.matrices, weighting = "flat")

Arguments

unpadded.matrices

A list of patristic matrices, a datelifeResult object.

weighting

A character vector indicating how much weight to give to each tree in input during the SDM analysis. Options are:

weighting = "flat"

All trees have equal weighting.

weighting = "taxa"

Weight is proportional to number of taxa.

weighting = "inverse"

Weight is proportional to 1 / number of taxa.

Defaults to weighting = "flat".

Value

A matrix.