mhahsler / seriation

Infrastructure for Ordering using Seriation - R Package
GNU General Public License v3.0
75 stars 17 forks source link

Unable to use "reorder.hclust" function #5

Closed Tomer-Tsaban closed 6 years ago

Tomer-Tsaban commented 6 years ago

Hi, for some reason (unknown to me) I can't use the "reorder.hclust" function. I installed seriation package correctly, but there is no option as "reorder" at all. other functions do appear and I can use them (seriate for example).

I tried reinstalling the package, and even R itself (including Rstudio) but nothing changes. any ideas?

thanks!

talgalili commented 6 years ago

The seriate_dendrogram (from the dendextend package) tries to offer a simpler wrapper, see if that helps you: https://rdrr.io/cran/dendextend/man/seriate_dendrogram.html

mhahsler commented 6 years ago

reorder is a generic function so reorder.hclust is not exported. Try ?reorder and you should see that seriation offers a reorder method for dendrograms. Alternatively, you can use seriation::: (three colons) to see what is inside the package. Hope this helps.