bdm.qMap {bigMap} | R Documentation |
Shows the mapping of quantitative variables into the embedding space.
bdm.qMap(bdm, data = NULL, labels = NULL, subset = NULL,
qMap.levels = 8, qMap.cex = 0.3, qMap.bg = "#FFFFFF",
class.pltt = NULL, layer = 1)
bdm |
A bdm instance as generated by |
data |
A |
labels |
A vector of class labels of length equal to |
subset |
A numeric vector with the indexes of a subset of data. Data-points in the subset are heat-mapped and the rest are shown in light grey. By default all data-points are heat-mapped. |
qMap.levels |
The number of levels of the quantile-map (8 by default). |
qMap.cex |
The size of the data-points (as in |
qMap.bg |
The background colour of the qMap plot. Default value is |
class.pltt |
If |
layer |
The number of a layer (1 by default). |
This is not a heat-map but a quantile-map plot. This function splits the range of each variable into as many quantiles as specified by levels so that the color gradient will hardly ever correspond to a constant numeric gradient. Thus, the mapping will show more evenly distributed colors though at the expense of possibly exaggerating artifacts. For variables with very extrem distributions, it will be impossible to find as many quantiles as desired and the distribution of colors will not be so homogeneous.
None.
bdm.example()
bdm.qMap(exMap)
# --- show only components (1, 2, 4, 8) of the GMM
bdm.qMap(exMap, subset = which(exMap$lbls %in% c(1, 4, 8, 16)))