Learn R Programming

hyperSpec (version 0.98-20140523)

qplotmixmap: qplotmap with colour mixing for multivariate overlay

Description

map plot with colour overlay.

Usage

qplotmixmap(object, ...)

Arguments

object
hyperSpec object
...
handed over to qmixtile and qmixlegend

Value

  • invisible list with ggplot2 objects map and legend

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"))

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

Run the code above in your browser using DataLab