Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fbielejec/plotmapswidget
R Widget for plotting spatial data
https://github.com/fbielejec/plotmapswidget
Last synced: 16 days ago
JSON representation
R Widget for plotting spatial data
- Host: GitHub
- URL: https://github.com/fbielejec/plotmapswidget
- Owner: fbielejec
- Created: 2010-11-16T10:42:16.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2015-06-25T13:35:04.000Z (over 9 years ago)
- Last Synced: 2025-01-04T01:39:38.091Z (21 days ago)
- Language: R
- Homepage:
- Size: 2.24 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
PlotMapsWidget
This is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
________________________________________________________________________________
PURPOSE
R Widget to support processing and visualizing BEAST's phylogeographic models.BEAST software: http://beast.bio.ed.ac.uk/Main_Page
________________________________________________________________________________
RUNNINGWidget needs the following R packages installed:
* ggplot2
* maps
* brew
* colorspace
* gWidgets
* gWidgetsRGtk2You can install them by running:
install.packages(c("ggplot2", "maps", "brew", "colorspace", "gWidgets",
"gWidgetsRGtk2" ))Run the widget by executing PlotMaps.r script (remember to adjust the path).
Widget is written for RGtk2. On Windows it will need GTK+ Runtime Environment
installed, to be dowloaded for example here:http://gtk-win.sourceforge.net/home/index.php/Downloads
________________________________________________________________________________
TODO
# Add some jitter to labels positions to avoid overplotting (still not perfect)
# Dim lat/long fields if user chooses full globe coordinates
# Save BF and I as numerical (change to factors in plot utilities )
# Add cancel current job functionality
# Coding convention:
functions : large letter without
underscores (CamelCase)
variables, GUI objects: small letters with underscores,
except variables in data frames
and labels
= : when wrapped with another object or
instruction/statement
<- : standalone, updating status bar values
spaces : after #, coma, around all binary
operators (=, +, -, <- , etc)
# Work on speedups (sqldf, paralell computations )
________________________________________________________________________________
BUGS
# Doesn't display messages when computing BF