Learn R Programming

hyperSpec (version 0.98-20161118)

qplotmixmap: qplotmap with colour mixing for multivariate overlay

Description

map plot with colour overlay.

Usage

qplotmixmap(object, ...)

Arguments

object

hyperSpec object

...

handed over to qmixlegend and qmixtile

Value

invisible list with ggplot2 objects map and legend

See Also

qmixtile

Examples

Run this code
# NOT RUN {
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"))

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

# }

Run the code above in your browser using DataLab