This function allows to plot results from pixel-based analysis of a seasonal ensemble of images in one or multiple rois.
plotSpatial(data, param, roi.data.path, image.path,
probs=c(0.01, 0.99), ...)
Either a data.frame or a list of dataframes
Character string of length 1 with name of the parameter you want to plot. It must match one of names(data)
The complete path where to find roi data (e.g. '/home/me/folderROI/roi.data.RData')
A complete path of an image you want to use as background for plotting your data. E.g. '/home/me/images/my_site201406061200.jpg'
Two numbers in the range [0,1] passed to quantile()
function to remove tails of the distribution for the plot.
Additional arguments passed to the function plot
Gianluca Filippa <gian.filippa@gmail.com>
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
.