Package: geoGraph 2.0.1

geoGraph: Walking Through the Geographic Space Using Graphs
Classes and methods for spatial graphs interfaced with support for GIS shapefiles.
Authors:
geoGraph_2.0.1.tar.gz
geoGraph_2.0.1.zip(r-4.7-any)geoGraph_2.0.1.zip(r-4.6-any)geoGraph_2.0.1.zip(r-4.5-any)
geoGraph_2.0.1.tgz(r-4.6-any)geoGraph_2.0.1.tgz(r-4.5-any)
geoGraph_2.0.1.tar.gz(r-4.7-any)geoGraph_2.0.1.tar.gz(r-4.6-any)
geoGraph_2.0.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
geoGraph/json (API)
| # Install 'geoGraph' in R: |
| install.packages('geoGraph', repos = c('https://evolecolgroup.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/evolecolgroup/geograph/issues
Pkgdown/docs site:https://evolecolgroup.github.io
- fst_hgdp - Pairwise FST matrix for HGDP populations
- hgdp - Human genome diversity panel - georeferenced data
- hgdpPlus - Human genome diversity panel - georeferenced data
- rawgraph.10k - Worldwide geographic graphs
- rawgraph.40k - Worldwide geographic graphs
- worldgraph.10k - Worldwide geographic graphs
- worldgraph.40k - Worldwide geographic graphs
Last updated from:4ee04335dd (on main). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 345 | ||
| source / vignettes | OK | 234 | ||
| linux-release | OK | 295 | ||
| macos-release | OK | 294 | ||
| macos-oldrel | OK | 267 | ||
| windows-devel | OK | 338 | ||
| windows-release | OK | 340 | ||
| windows-oldrel | OK | 291 | ||
| wasm-release | OK | 153 |
Exports:.zoomlog.up%>%areConnectedareNeighboursassignByPolygonassignByRasterautoplotbufferclosestNodecombineCostsconnectivityPlotdijkstraBetweendijkstraBufferdijkstraFromdropCostsdropDeadEdgesdropDeadNodesextractFromLayerfindLandgeo.add.edgesgeo.backgeo.bookmarkgeo.change.attrgeo.gotogeo.remove.edgesgeo.segmentsgeo.slidegeo.zoomingeo.zoomoutgeom_gdatageom_ggraphgeom_gpathgetColorsgetCoordsgetCostsgetDatagetEdgesgetGraphgetNodeCostsgetNodesgetNodesAttrgPath2disthasCostsisConnectedisInAreaisReachablekeepMaxConnectedSetmakeGridmakeHexGridmakeSquareGridplotplotEdgespointspolygonBetweensetColorssetCostssetDistCostssetEdgessetGraphsetNodesAttr
Dependencies:askpassBHBiocGenericsbootclassclassIntclicollapsecpp11curlDBIdeldirdggridRdotCall64dplyre1071farverfieldsFNNgenericsggplot2gluegraphgtablehttrisobandjsonliteKernSmoothlabelinglatticelifecyclemagrittrmapsmimeopensslpillarpkgconfigproxypurrrR6RBGLRColorBrewerRcpprlangrnaturalearths2S7scalessfspspamspDataspdepstringistringrsysterratibbletidyrtidyselectunitsutf8vctrsviridisLitewithrwk
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Test if a set of nodes form a connected set | areConnected |
| Tests connectivity between pairs of nodes | areNeighbours |
| Assign node attributes from a polygon layer | assignByPolygon assignByPolygon,data.frame-method assignByPolygon,gData-method assignByPolygon,gGraph-method assignByPolygon,list-method assignByPolygon,matrix-method assignByPolygon,numeric-method |
| Assign raster values to graph nodes | assignByRaster |
| Default ggplot for a 'gData' | autoplot.gData |
| Default ggplot for a 'gGraph' | autoplot.gGraph |
| Compute buffers around locations for gGraph and gData objects | buffer buffer,gData-method buffer,gGraph-method buffer-methods |
| Find the closest node to a given location | closestNode closestNode,gData-method closestNode,gGraph-method |
| Combine the costs of two gGraph objects | combineCosts |
| Plot connected sets of a gGraph object | connectivityPlot connectivityPlot,gData-method connectivityPlot,gGraph-method |
| Find the shortest path between nodes in a graph | dijkstraBetween dijkstraBetween,gData-method dijkstraBetween,gGraph-method |
| Find nodes reachable within a cost threshold | dijkstraBuffer |
| Find the minimum cost path | dijkstraFrom dijkstraFrom,gData-method dijkstraFrom,gGraph-method |
| Remove all costs from a gGraph object | dropCosts dropCosts,gGraph-method |
| Get rid of some 'dead' edges or nodes | dropDeadEdges dropDeadNodes |
| Find which nodes are on land | findLand findLand,data.frame-method findLand,gGraph-method findLand,matrix-method |
| Pairwise FST matrix for HGDP populations | fst_hgdp |
| Formal class "gData" | gData gData-class |
| Add and remove edges from a gGraph object | geo.add.edges geo.remove.edges |
| Change values of a node attribute | geo.change.attr |
| Plot segments correctly when crossing the antimeridian | geo.segments |
| ggplot layer for a 'gData' | geom_gdata |
| ggplot layer for a 'gGraph' | geom_ggraph |
| ggplot layer for a gPath | geom_gpath |
| Get colors associated to nodes of a gGraph object | getColors getColors,gGraph-method |
| Get coordinates of nodes in a gGraph or gData object | getCoords getCoords,gData-method getCoords,gGraph-method |
| Get costs associated to edges of a gGraph object | getCosts getCosts,gGraph-method getNodeCosts getNodeCosts,gGraph-method |
| Get the data component of a gData object | getData getData,gData-method |
| Get edges from a gGraph object | getEdges getEdges,gGraph-method |
| Get the graph component of a gGraph or gData object | getGraph getGraph,gData-method getGraph,gGraph-method |
| Get nodes of a gGraph or gData object | getNodes getNodes,gData-method getNodes,gGraph-method |
| Get nodes attributes from gGraph/gData object | getNodesAttr getNodesAttr,gData-method getNodesAttr,gGraph-method |
| Formal class "gGraph" | gGraph gGraph-class |
| Formal class "gPath" | gPath gPath-class |
| Extract distances from a gPath object | gPath2dist |
| Check if a gGraph has costs | hasCosts |
| Human genome diversity panel - georeferenced data | hgdp hgdpPlus |
| Test if a set of nodes form a connected set | isConnected isConnected,gData-method isConnected,gGraph-method |
| Find which nodes fall in a given area | isInArea isInArea,data.frame-method isInArea,gData-method isInArea,gGraph-method isInArea,matrix-method |
| Tests if location reachable from nodes | isReachable |
| Keep only the largest connected set | keepMaxConnectedSet |
| Make a new gGraph object from a custom hexagonal grid | makeHexGrid |
| Make a new gGraph object from a custom square grid | makeSquareGrid |
| Plot a gData object. | plot,gData,missing-method plot-gData plot.gData plot_gData points,gData-method |
| Plot a gGraph object. | plot,gGraph,missing-method plot,gGraph-method plot-gGraph plot.gGraph plotEdges plot_gGraph points,gGraph-method |
| Plot a gPath object | plot.gPath print.gPath |
| Least-cost paths between two polygons | polygonBetween |
| Set color rules for a gGraph object | setColors |
| Set friction in a gGraph object | setCosts |
| Set costs associated to edges based on geographic distances | setDistCosts setDistCosts,gGraph-method setDistCosts-methods |
| Add and remove edges from a gGraph object | setEdges setEdges,gGraph-method |
| Set the linked gGraph for a gData object | setGraph setGraph,gData-method |
| Set node attributes in a gGraph object | setNodesAttr |
| Subset a gData object | subset-gData [,gData,ANY,ANY,ANY-method [,gData,ANY,ANY-method [,gData-method |
| Subset a gGraph object | subset-gGraph [,gGraph,ANY,ANY,ANY-method [,gGraph,ANY,ANY-method [,gGraph-method |
| Worldwide geographic graphs | rawgraph.10k rawgraph.40k worldgraph worldgraph.10k worldgraph.40k |
| Navigate in the plot of a gGraph object | .zoomlog.up geo.back geo.bookmark geo.goto geo.slide geo.zoomin geo.zoomout zoom |