Description Usage Arguments Value Examples
Plotting the VDSM-heatmap.
1 2 3 4 5 6 7 8 9 10 |
X |
A m*p matrix which contains m different p-dimensional models. All the elements are either 0 or 1. |
f |
A vector with m elements which represent each model's frequency in X. |
p |
The number of variate in the model. |
Anchor.estimate |
An estimation for the anchor model. |
xlim |
A vector with two elements which determine the range of x-axis in the plot. |
ylim |
A vector with two elements which determine the range of y-axis in the plot. |
Anchor.model |
A vector containing p elements with either 1 or 0 value and must be found in X. Default is the model with the highest frequency. |
fontsize |
Customize the size of the font in the circles, default is 1.5. |
A list with components
Heatmap.info |
The table includes all the information about each group, i.e., the total possible number of models in the group and the actual existing number of model in the group. |
Hplus.histogram |
The frequency of Hamming distance plus. |
Hminus.weighted.histogram |
The frequency of Hamming distance minus-weighted. |
1 2 3 4 5 6 7 8 9 | data(exampleX)
X=exampleX
data(examplef)
f=examplef
p=8
Anchor.estimate=c(3,2.5,2,1.5,1,0,0,0)
Heatmap_example1 = VDSM_heatmap(X,f,p,Anchor.estimate)
Heatmap_example2 = VDSM_heatmap(X,f,p,Anchor.estimate,fontsize=3)
Heatmap_example3 = VDSM_heatmap(X,f,p,Anchor.estimate,xlim=c(0,5),ylim=c(0,5),fontsize=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.