prep_dendro adds a dendrogram to a CellTypeDataset (CTD).

prep_dendro(ctdIN, expand = c(0, 0.66))

Arguments

ctdIN

A single annotLevel of a ctd, i.e. ctd[[1]] (the function is intended to be used via apply).

Value

A CellTypeDataset with dendrogram plotting info added.