Convert labels or tables to a dendrogram