Description Usage Arguments Details Value Author(s) See Also Examples
Assigns values to rawDist
objects for spatial density plotting.
1 | assign.value(rawDist, value, value.name = NULL)
|
rawDist |
|
value |
a |
value.name |
a character or function defining the name for the assigned value. Can be |
This function can be used to plot values as color-densities on sample maps. The function is useful e.g. for examining the spatial distribution of geochemical data, such as element ratios or isotope ratios, along sample materials. If the rawDist
object contains only one sample spot sequence, the value
parameter should be expressed as a data.frame with two columns. If the rawDist
object consists of several sample spot sequences, the value
parameter should be a list of data.frames with length equivalent to number of spot sequences. The first column in all value
data.frames represents spot number and should be equivalent to $spots
marks in the rawDist
object. The second column represents the values to be assigned. Column names are ignored.
Returns a list of class rawDist
containing spot value information.
Mikko Vihtakari
read.ijdata
spot.dist
assign.size
plot.rawDist
1 2 3 4 5 6 7 8 9 10 11 | data(barium)
data(shellsizes)
## rawDist
shellvalues <- assign.value(shellsizes, barium, value.name = "Ba/Ca")
plot(shellvalues, spot.size = "actual", spot.type = "value", main.type = "none")
## spotDist
shellvalues.aligned <- spot.dist(shellvalues)
plot(shellvalues.aligned, spot.size = "actual", spot.type = "idvalue",
spot.color = "darkgrey", highlight.gbs = c("WG_start", "WG_end"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.