Description Usage Arguments Details Author(s)
This function allows to plot results from pixel-based analysis of a seasonal ensemble of images in one or multiple rois.
1 2 | plotSpatial(data, param, roi.data.path, image.path,
probs=c(0.01, 0.99), ...)
|
data |
Either a data.frame or a list of dataframes |
param |
Character string of length 1 with name of the parameter you want to plot. It must match one of names(data) |
roi.data.path |
The complete path where to find roi data (e.g. '/home/me/folderROI/roi.data.RData') |
image.path |
A complete path of an image you want to use as background for plotting your data. E.g. '/home/me/images/my_site201406061200.jpg' |
probs |
Two numbers in the range [0,1] passed to |
... |
Additional arguments passed to the function |
This function allows to plot on a reference image results from the pixel based extraction of thresholds and other relevant parameters from pixel based fitting. Multiple ROIs are allowed and handled as well. On top of the plot the density distribution of value for each pixel is shown, if desired. Values are plotted in a black to green scale, with a legend. Data in entrance to this function can be stored in a data.frame (single ROI data) as in output from extractParameters
. If you have analyised more than one ROI and you want them to be shown together, put individual data.frames in output from extractParameters
in a list and pass the list as data to plotSpatial
.
Gianluca Filippa <gian.filippa@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.