In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to use ggtree to draw a circular tree diagram in R language to display the results of cluster analysis. Many people may not know much about it. In order to let everyone know more, Xiaobian summarizes the following contents for everyone. I hope everyone can gain something according to this article.
Today's main content is to realize the following image image.png
After cluster analysis, you can usually choose a tree diagram to show the results of cluster analysis. Before the public number also shared an article, R language cluster tree diagram small example If the number of samples is not many, you can choose a rectangular tree diagram. However, if the number of samples is relatively large, for example, a reader of a public account today said that he has more than 160 samples, so that the rectangular tree diagram will be wider or longer. At this time, you can choose to use a circular bar chart to show.
So how does a circular tree diagram work? I looked it up. R language package dendextend This package can be implemented, use help(package="dendextend") to view the help documentation, you can see a small example of it
iris2
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.