Description Usage Arguments Examples
View source: R/plotClusterLeaves.R
plotClusterLeaves is function that plots clusters in a form of treemap plot. Subsquares represent clusters. Each subsquare contains cluster label (ID), number of members (N), and a maximum of manitude-difference of admixture ratios (md). A size of each subsquare represents a ratio of member numbers compared to other clusters. A color represents an md value of cluster.
1 | plotClusterLeaves(obj)
|
obj |
is an object of ipADMIXTURE class. |
1 2 | h27pop_obj<-ipADMIXTURE(Qmat=ipADMIXTURE::human27pop_Qmat[[11]], admixRatioThs =0.15)
ipADMIXTURE::plotClusterLeaves(h27pop_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.