Description Usage Arguments Details Author(s) See Also Examples
Plots a map of rawDist
object.
1 2 3 4 5 |
x |
|
... |
Arguments to be passed to other methods, such as graphical parameters. |
sample.name |
A character argument specifying the sample name to be plotted as an overall title for the plot ( |
spot.type |
A character argument with three possible levels ( |
spot.size |
An integer or a character argument with value |
spot.color |
A vector with equal length to number of spot sequences defining the color of sample spot labels. If |
main.type |
A character argument with four possible levels ( |
color.palette |
color palette used for "value" and "idvalue" |
highlight.gbs |
A character vector specifying the names of growth bands to be highlighted (i.e. colored with a different color than "darkgrey"). If |
highlight.col |
A character argument specifying the color to be used in growth band highlighting ( |
The sclero package currently uses the graphics package distributed with R for plotting (see plot
). Plotting sample maps is carried out by the sclero:::samplemap
function, which works as an internal function and therefore has not been exported. Users willing to modify sclero plots beyond the flexibility allowed by the plot.rawDist
function are instructed to modify the samplemap
function, which consists of standard R graphics syntax. It should be noted that the samplemap
(and therefore also the plot.rawDist
) function calls for the layout
function every time the arguments spot.type = "value"
or spot.type = "idvalue"
are used. Consequently, the graphics window is divided into two regions that might cause issues when combining sclero plots with other graphics. The users are adviced to consider the graphics window resetting procedure specified in layout
examples.
Because the function plots a sample map, the aspect ratio is forced to 1 and cannot be changed. If this causes troubles when trying to set the axis limits (ylim
and xlim
), try resizing the graphics window.
Mikko Vihtakari
convert.ijdata
for converting the coordinate information to spatstat point patterns.
read.ijdata
for reading zip files containing ImageJ ROIs.
plot.spotDist
for plotting spotDist
objects.
plot.default
and other methods; points
, lines
, par
.
1 2 3 | data(shellspots)
shell_map <- convert.ijdata(shellspots)
plot(shell_map)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.