{"id":13711504,"url":"https://i2z1.github.io/ggonion/","last_synced_at":"2025-05-06T20:34:15.594Z","repository":{"id":156441528,"uuid":"630637705","full_name":"i2z1/ggonion","owner":"i2z1","description":"R package for drawing onion diagrams via ggplot2","archived":false,"fork":false,"pushed_at":"2024-09-20T16:02:55.000Z","size":1242,"stargazers_count":7,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T02:39:06.018Z","etag":null,"topics":["onion","r","visualisation"],"latest_commit_sha":null,"homepage":"https://i2z1.github.io/ggonion/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i2z1.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-04-20T20:16:23.000Z","updated_at":"2025-03-22T10:17:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab764f3e-14c6-4f03-850e-d4d63f59ab5e","html_url":"https://github.com/i2z1/ggonion","commit_stats":{"total_commits":14,"total_committers":5,"mean_commits":2.8,"dds":0.5,"last_synced_commit":"98a4ba261e2a08d35b2674ef12a1f35ee933ec78"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2z1%2Fggonion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2z1%2Fggonion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2z1%2Fggonion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i2z1%2Fggonion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i2z1","download_url":"https://codeload.github.com/i2z1/ggonion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252765070,"owners_count":21800792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["onion","r","visualisation"],"created_at":"2024-08-02T23:01:08.917Z","updated_at":"2025-05-06T20:34:14.713Z","avatar_url":"https://github.com/i2z1.png","language":"R","funding_links":[],"categories":["Plot layers"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n```{r generate_hex, include=FALSE, fig.path=\"man/figures/hex-\"}\nlibrary(hexSticker)\nlibrary(ggonion)\n\nx \u003c- c(\"1\", \"2\", \"3\",\"4\")\nclr \u003c- c(\"orange\",\"#ecefa2\", \"#a2cda3\",\"#8a99e9\")\np \u003c- ggonion(x, color = clr)\np\n\nhexSticker::sticker(p, package=\"ggonion\", \n                    p_size=22,\n                    p_y=1.5,\n                    s_x=1,\n                    s_y=.75,\n                    s_width=1.3,\n                    s_height=1,\n                    h_fill = \"#000000\",\n                    p_color = \"#d1e942\",\n                    h_color = \"#e06b17\", #border\n                    p_family = \"teko\",\n                    filename=\"man/figures/hex.png\")\n```\n\n\n# ggonion \u003cimg src=\"man/figures/hex.png\" width=\"140px\" height=\"140px\" align=\"right\" style=\"padding-left:10px;\" /\u003e\n\nR package for drawing onion diagrams with ggplot2\n\nWIP (Work in progress)\n\n## Installation\n\nYou can install development version if ggonion from Github with\n\n```\ndevtools::install_github(\"i2z1/ggonion\")\n```\n\n## Usage\n\n\n```{r example, fig.asp = 1, fig.width = 4, fig.height = 4}\nlibrary(ggonion)\n\nx \u003c- c(\"1\", \"2\", \"3\",\"4\")\nclr \u003c- c(\"orange\", \"#ecefa2\", \"#a2cda3\", \"#8a99e9\")\nggonion(x, color = clr)\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/i2z1.github.io%2Fggonion%2F","html_url":"https://awesome.ecosyste.ms/projects/i2z1.github.io%2Fggonion%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/i2z1.github.io%2Fggonion%2F/lists"}