Learn R Programming

MSCquartets (version 3.1)

fitCycleOrders: Compute fit of circular orders to distance with least squares

Description

Compute residual sum of squares (RSS) comparing empirical distance for a blob to an expected one for a cycle with each given order/designated hybrid. This is used in NANAUQ+ commands for resolving multifurcations in a tree of blobs to a cycle

Usage

fitCycleOrders(D, E, orders)

Value

vector of RSSs, one for each order

Arguments

D

an empirical distance table

E

an expected distance table, to be reordered

orders

a vector indicating an order, or matrix whose rows give orders, to fit

See Also

resolveCycle, resolveLevel1