Description Usage Arguments Value See Also Examples
Performs hierarchical clustering across sections in a SummarizedExperiment
object.
1 2 3 4 5 6 7 | hierarchClust(
object,
matrix = "normalized",
measure = "euclidean",
p = 2,
agglomeration = "complete"
)
|
object |
A |
matrix |
Character, must be one of |
measure |
Character, must be one of |
p |
Numeric, the power of the Minkowski distance. |
agglomeration |
Character, must be one of |
A hclust
object.
dist
for measuring distance and hclust
for performing hierarchical clustering on a matrix.
1 2 3 4 5 6 7 8 9 10 11 | data(zh.data)
zh <- createTomo(zh.data)
hclust_zh <- hierarchClust(zh)
plot(hclust_zh)
# Use other agglomeration method
hclust_zh <- hierarchClust(zh, agglomeration="average")
# (Not recommended) Use scaled read counts to calculate distance
zh <- scaleTomo(zh)
hclust_zh <- hierarchClust(zh, matrix="scaled")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.