popDendRelabelMembers: Relabel a dendrogram based on IDs

Description Usage Arguments

View source: R/privateFunctions.R

Description

Look at each tip of popdend, and find all individuals in the ids structure that have this population. Replace labels with a ; separated character string of the individuals in that population

Usage

1
popDendRelabelMembers(popdend, ids, relabel = function(x) x)

Arguments

popdend

A dendrogram

ids

An N by 3 data frame consisting of: column 1: row names (for both the data and the mix). column 2: the cluster menbership that created the groups in dataraw (with the column names in dataraw as the values). column 3: inclusion (0 for absent, 1 for present).

relabel

A function that takes the names in ids[,1] and returns the names that will be found in popdend.


danjlawson/badMIXTURE documentation built on Sept. 27, 2019, 9:11 p.m.