Description Usage Arguments Details Value Author(s) See Also Examples
Calculates and visualizes a similarity matrix for subjects or variables in an image plot
1 2 3 |
data |
|
what |
Shall similarity matrix of subjects or variables be visualized?; ignored if |
variables.method |
method to calculate similarities if |
varweights |
optional vector of variable weights, used for calculating Gower's distances between subjects; ignored if |
linkage |
agglomeration method used for hierarchical clustering; corresponds to parameter |
reorderdend |
optional numeric values for reordering the dendrogram (maintaining the constraints on the dendrogram), see |
col |
Color palette; defaults to blue-scale palette, where darker blue indicates higher similarity |
... |
graphical parameters passed to |
If data
is a data.frame
, the similarity matrix is calculated for subjects (if what = "subjects"
) or variables (if what = "variables"
).
Similarities for subjects are calculated by similarity.subjects
. \
Similarities for variables are derived by similarity.variables
.
Alternatively, data
can also be a previously calculated similarity matrix.
Image plots and dendrograms
Manuela Hummel
similarity.variables
, dist.variables
, similarity.subjects
, dist.subjects
, mix.heatmap
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.