All Projects → gastonstat → arcdiagram

gastonstat / arcdiagram

Licence: other
R package arcdiagram

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to arcdiagram

rAltmetric
Query and visualize metrics from altmetric.com
Stars: ✭ 46 (-38.67%)
Mutual labels:  r-package
wqbc
An R package for water quality thresholds and index calculation for British Columbia
Stars: ✭ 16 (-78.67%)
Mutual labels:  r-package
metafor
A meta-analysis package for R
Stars: ✭ 174 (+132%)
Mutual labels:  r-package
graphite
Haskell graphs and networks library
Stars: ✭ 31 (-58.67%)
Mutual labels:  graphs
WikiChron
Data visualization tool for wikis evolution
Stars: ✭ 19 (-74.67%)
Mutual labels:  graphs
mlr3tuning
Hyperparameter optimization package of the mlr3 ecosystem
Stars: ✭ 44 (-41.33%)
Mutual labels:  r-package
CovidIndiaStats
A dashboard to visualise the spread of covid19 in India(state and districtwise) and around the world(countrywise).
Stars: ✭ 22 (-70.67%)
Mutual labels:  graphs
sparklygraphs
Old repo for R interface for GraphFrames
Stars: ✭ 13 (-82.67%)
Mutual labels:  r-package
packagefinder
Comfortable search for R packages on CRAN, either directly from the R console or with an R Studio add-in
Stars: ✭ 43 (-42.67%)
Mutual labels:  r-package
oem
Penalized least squares estimation using the Orthogonalizing EM (OEM) algorithm
Stars: ✭ 22 (-70.67%)
Mutual labels:  r-package
nlrx
nlrx NetLogo R
Stars: ✭ 66 (-12%)
Mutual labels:  r-package
ffscrapr
R API Client for Fantasy Football League Platforms
Stars: ✭ 55 (-26.67%)
Mutual labels:  r-package
scMCA
Mouse cell atlas
Stars: ✭ 45 (-40%)
Mutual labels:  r-package
syn
syn - the thesaurus
Stars: ✭ 45 (-40%)
Mutual labels:  r-package
RcppEigen
Rcpp integration for the Eigen templated linear algebra library
Stars: ✭ 89 (+18.67%)
Mutual labels:  r-package
states
Create country-year/month/day panels consistent with the COW or Gleditsch & Ward independent states lists
Stars: ✭ 13 (-82.67%)
Mutual labels:  r-package
rdflib
📦 High level wrapper around the redland package for common rdf applications
Stars: ✭ 47 (-37.33%)
Mutual labels:  r-package
gfapy
Gfapy: a flexible and extensible software library for handling sequence graphs in Python
Stars: ✭ 54 (-28%)
Mutual labels:  graphs
MetQy
Repository for R package MetQy (read related publication here: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6247936/)
Stars: ✭ 17 (-77.33%)
Mutual labels:  r-package
metadat
Meta-analytic datasets for R
Stars: ✭ 21 (-72%)
Mutual labels:  r-package

"arcdiagram"

arcdiagram is a minimalist package that provides a basic function to plot pretty arc diagrams in R.

Donation

As a Data Science and Statistics educator, I love to share the work I do. Each month I spend dozens of hours curating learning materials and computational tools like this R package. If you find any value and usefulness in arcdiagram, please consider making a one-time donation---via paypal---in any amount (e.g. the amount you would spend inviting me a coffee or any other drink). Your support really matters.

Installation

arcdiagram is only available in github (but not in CRAN). To install the development version, use install_github() from R package "devtools":

# install 'arcdiagram' (development version)
devtools::install_github('gastonstat/arcdiagram')

Some Examples

library(arcdiagram)

# create a star graph with 10 nodes
star_graph = graph.star(10, mode="out")

# extract edgelist
star_edges = get.edgelist(star_graph)

# inspect star_edges
star_edges

# plot 1: default arc diagram
arcplot(star_edges)

# plot 2: show nodes as circles, in decreasing order
arcplot(star_edges, show.nodes=TRUE, sorted=TRUE, decreasing=TRUE, las=1)

# plot 3: different ordering, arc widths, arc colors, and node sizes
set.seed(120)
arcplot(star_edges, ordering=sample(1:10), labels=paste("node",1:10,sep="-"),
   lwd.arcs=4*runif(10,.5,2), col.arcs=hsv(runif(9,0.6,0.8),alpha=0.4),
   show.nodes=TRUE, pch.nodes=21, cex.nodes=runif(10,1,3), 
   col.nodes="gray80", bg.nodes="gray90", lwd.nodes=2)
   
# plot 4: same as plot 3 but vertically oriented
set.seed(120)
op = par(mar = c(0.5, 5, 0.5, 3))
arcplot(star_edges, ordering=sample(1:10), horizontal=FALSE,
   labels=paste("node",1:10,sep="-"),
   lwd.arcs=4*runif(10,.5,2), col.arcs=hsv(runif(9,0.6,0.8),alpha=0.4),
   show.nodes=TRUE, pch.nodes=21, cex.nodes=runif(10,1,3), 
   col.nodes="gray80", bg.nodes="gray90", lwd.nodes=2)
par(op)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].