extendGraphClust: Extend clusters to new species using a phylogenetic tree

Description Usage Arguments Details Value

Description

This function affiliate new species to clusters of a graphclust object. This is done using a phylogeny including both the species included in the graphclust object and the set of new species to affiliate.

Usage

1
extendGraphClust(clusters, target, pb = TRUE)

Arguments

clusters

an object of class graphclust

target

a phylo object

pb

a logical. Should a progress bar be printed? (default TRUE).

Details

The affiliation algorithm is basic and works with phylogenetic distance as number of nodes between two tips. It may produce NA values in case of ambiguity between two clusters. Affliliation of a large number of new tips can be slow.

Value

A vector giving the cluster of each tip.


fkeck/diatobc documentation built on May 12, 2019, 7:18 p.m.