| VDSM_heatmap {VDSM} | R Documentation | 
VDSM-heatmap.
Description
Plotting the VDSM-heatmap.
Usage
VDSM_heatmap(
  X,
  f,
  p,
  Anchor.estimate,
  xlim = NULL,
  ylim = NULL,
  Anchor.model = NULL,
  fontsize = NULL
)
Arguments
| 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. | 
Value
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. | 
Examples
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)