designTree: Compute a design matrix or non-negative LS
Description
nnls.tree estimates the branch length using non-negative least squares given a tree and a distance matrix.
designTree and designSplits compute design matrices for the
estimation of edge length of (phylogenetic) trees using linear models.
For larger trees a sparse design matrix can save a lot of memory.