spiralize

Visualize data on spirals

https://github.com/jokergoo/spiralize

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Visualize data on spirals

Basic Info
Statistics
  • Stars: 154
  • Watchers: 5
  • Forks: 13
  • Open Issues: 2
  • Releases: 0
Created about 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog License

README.md

Visualize Data on Spirals

R-CMD-check CRAN CRAN

Features

The package spiralize visualizes data along an Archimedean spiral. It has two major advantages for visualization:

  1. It is able to visualize data with very long axis with high resolution.
  2. It is efficient for time series data to reveal periodic patterns.

Documentation

https://jokergoo.github.io/spiralize/

Citation

Zuguang Gu, et al., spiralize: an R package for Visualizing Data on Spirals, Bioinformatics, 2021. https://doi.org/10.1093/bioinformatics/btab778

Install

The package is available on CRAN and can be installed by:

r install.packages("spiralize")

If you want the latest version, install it directly from GitHub:

r library(devtools) install_github("jokergoo/spiralize")

Usage

It includes three steps:

  1. initialize the spiral,
  2. add a track,
  3. add graphics to the track.

Step 2 and 3 can be applied multiple times to allow multiple-track visualization along the spiral.

The code for making spiral plot looks likes follows:

r library(spiralize) spiral_initialize(...) spiral_track(...) spiral_points(...) ...

Graphics

Complex plots are baiscally constructed from simple graphics. Here there are following low-level graphics functions:

  • spiral_points()
  • spiral_lines()
  • spiral_rect()
  • spiral_segments()
  • spiral_polygon()
  • spiral_bars()
  • spiral_text()
  • spiral_axis()
  • spiral_yaxis()
  • spiral_raster()

Particularlly, horizon chart is very suitable to put on the spiral, thus there is one function for this:

  • spiral_horizon()

Spiral plot can also visualize dendrograms with large number of leaves, thus there are following two functions:

  • spiral_dendrogram()
  • spiral_phylo()

Examples

  1. Difference of ggplot2 daily downloads to the mean of the current year (2015-2021). Each loop contains 52 weeks so that same weeks in different years locate at the same angle in the polar coordinates.

  1. A phylogenetic life tree with 50645 species.

  1. The spiral COVID-19 Shiny app

License

MIT @ Zuguang Gu

Owner

  • Name: Zuguang Gu
  • Login: jokergoo
  • Kind: user
  • Location: Heidelberg, Germany
  • Company: German Cancer Research Center

A bioinformagician

GitHub Events

Total
  • Watch event: 6
Last Year
  • Watch event: 6

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 57
  • Total Committers: 1
  • Avg Commits per committer: 57.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Zuguang Gu j****o@g****m 57

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 44
  • Total pull requests: 0
  • Average time to close issues: 9 days
  • Average time to close pull requests: N/A
  • Total issue authors: 5
  • Total pull request authors: 0
  • Average comments per issue: 0.2
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jokergoo (39)
  • ogreyesp (2)
  • WenChangYu (1)
  • hwrightson (1)
  • davetang (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • cran 618 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 1
    (may contain duplicates)
  • Total versions: 11
  • Total maintainers: 1
cran.r-project.org: spiralize

Visualize Data on Spirals

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 618 Last month
Rankings
Stargazers count: 3.1%
Forks count: 6.3%
Average: 21.0%
Dependent repos count: 24.0%
Dependent packages count: 28.8%
Downloads: 43.0%
Maintainers (1)
Last synced: 11 months ago
conda-forge.org: r-spiralize
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Stargazers count: 28.6%
Dependent repos count: 34.0%
Average: 39.0%
Forks count: 42.2%
Dependent packages count: 51.2%
Last synced: 11 months ago

Dependencies

.github/workflows/check-standard.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
DESCRIPTION cran
  • R >= 3.6.0 depends
  • grid * depends
  • GetoptLong >= 0.1.8 imports
  • GlobalOptions >= 0.1.1 imports
  • circlize * imports
  • grDevices * imports
  • lubridate * imports
  • methods * imports
  • stats * imports
  • utils * imports
  • ComplexHeatmap * suggests
  • ape * suggests
  • bezier * suggests
  • cowplot * suggests
  • cranlogs * suggests
  • dendextend * suggests
  • grImport * suggests
  • grImport2 * suggests
  • jpeg * suggests
  • knitr * suggests
  • magick * suggests
  • png * suggests
  • rmarkdown * suggests
  • tiff * suggests