Learn R Programming

hyperSpec (version 0.100.2)

qplotmixmap: qplotmap with colour mixing for multivariate overlay

Description

map plot with colour overlay.

Usage

qplotmixmap(object, ...)

Value

invisible list with ggplot2 objects map and legend

Arguments

object

hyperSpec object

...

handed over to qmixlegend and qmixtile

Author

Claudia Beleites

See Also

qmixtile

Examples

Run this code
chondro <- chondro - spc.fit.poly.below (chondro)
chondro <- sweep (chondro, 1, apply (chondro, 1, mean), "/")
chondro <- sweep (chondro, 2, apply (chondro, 2, quantile, 0.05), "-")

qplotmixmap (chondro [,,c (940, 1002, 1440)],
             purecol = c (colg = "red", Phe = "green", Lipid = "blue"))

Run the code above in your browser using DataLab