Description Usage Arguments Value Author(s) References Examples
Cluster cells based on the genetic divergence matrix using hierachical cluster methods.
1 |
dist |
A dissimilarity structure as produced by 'dist' |
method |
Submethod for 'hclust'. Default is "ward.D", because statistical integreity |
plot |
TRUE or FALSE, decide whether to plot the result. Default value is TRUE. |
label |
An integer 1D vector that decide the label color. Default NULL, where no color label. |
... |
Other arugments can be inherited from plot.phylo in "ape". For example type='fan' for circle cluster plot. |
An object of class hclust which describes the tree produced by the clustering process. Check https://www.rdocumentation.org/packages/stats/versions/3.5.1/topics/hclust for more detail.
If 'plot==TRUE', a hclust plot will also be displayed.
Zilu Zhou
https://www.rdocumentation.org/packages/stats/versions/3.5.1/topics/hclust
1 2 3 4 | data("DENDRO_demo")
demo_qc = FilterCellMutation(demo$X,demo$N,demo$Z,demo$Info,demo$label)
dist = DENDRO.dist(demo_qc$X,demo_qc$N,demo_qc$Z,show.progress=FALSE)
cluster=DENDRO.cluster(dist,label=demo_qc$label)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.