map: Map the expression distance onto a given tree topology

Description Usage Arguments Value

Description

This function computes the least squares brach lengths on a tree with known topology and a distance matrix. Borrowed something from "phytools" package.

Usage

1
map.ls(phy, D)

Arguments

phy

a phylogenetic tree

D

a distance matrix has row&column names corresponded to tip labels

Value

mapped tree and the sum of squares residual error (Q-score)


jingwyang/TreeExp documentation built on June 11, 2019, 6:17 p.m.