{"id":15938265,"url":"https://github.com/nelson-gon/umart","last_synced_at":"2025-04-03T20:14:40.627Z","repository":{"id":211009807,"uuid":"462339234","full_name":"Nelson-Gon/umart","owner":"Nelson-Gon","description":"umart generates umap art ","archived":false,"fork":false,"pushed_at":"2022-03-19T18:32:38.000Z","size":122,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T08:19:00.887Z","etag":null,"topics":["art","artists","dimensionality-reduction","generative-art","image-processing","r-package","rstats","umap"],"latest_commit_sha":null,"homepage":"https://nelson-gon.github.io/umart","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nelson-Gon.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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}},"created_at":"2022-02-22T14:40:13.000Z","updated_at":"2022-03-12T02:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"44556634-435a-4069-b7c0-3622fc324d2c","html_url":"https://github.com/Nelson-Gon/umart","commit_stats":null,"previous_names":["nelson-gon/umart"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fumart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fumart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fumart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nelson-Gon%2Fumart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nelson-Gon","download_url":"https://codeload.github.com/Nelson-Gon/umart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247070928,"owners_count":20878586,"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":["art","artists","dimensionality-reduction","generative-art","image-processing","r-package","rstats","umap"],"created_at":"2024-10-07T05:21:45.123Z","updated_at":"2025-04-03T20:14:40.607Z","avatar_url":"https://github.com/Nelson-Gon.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: 'umart generates umap art'\noutput: github_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(echo = TRUE)\n```\n\n\u003c!-- badges: start --\u003e\n\n[![CRAN_Status_Badge](https://r-pkg.org/badges/version/umart)](https://cran.r-project.org/package=umart)\n[![CRAN\\_Release\\_Badge](https://www.r-pkg.org/badges/version-ago/umart)](https://CRAN.R-project.org/package=umart) \n[![Codecov test coverage](https://codecov.io/gh/Nelson-Gon/umart/branch/main/graph/badge.svg)](https://codecov.io/gh/Nelson-Gon/umart?branch=main)\n[![R-CMD-check](https://github.com/Nelson-Gon/umart/actions/workflows/devel-check.yaml/badge.svg)](https://github.com/Nelson-Gon/umart/actions/workflows/devel-check.yaml)\n![test-coverage](https://github.com/Nelson-Gon/umart/workflows/test-coverage/badge.svg)\n[![Project Status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/) \n[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![license](https://img.shields.io/badge/license-GPL--3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)\n[![GitHub last commit](https://img.shields.io/github/last-commit/Nelson-Gon/umart.svg)](https://github.com/Nelson-Gon/umart/commits/main)\n[![GitHub issues](https://img.shields.io/github/issues/Nelson-Gon/umart.svg)](https://GitHub.com/Nelson-Gon/umart/issues/)\n[![GitHub issues-closed](https://img.shields.io/github/issues-closed/Nelson-Gon/umart.svg)](https://GitHub.com/Nelson-Gon/umart/issues?q=is%3Aissue+is%3Aclosed)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/Nelson-Gon/umart/graphs/commit-activity)\n\u003c!-- badges: end --\u003e\n\n# Installation \n\n\n```{r install, eval=FALSE}\ndevtools::install_github(\"Nelson-Gon/umart\")\n```\n\n\n# Load library \n\n```{r lib_call}\nlibrary(umart)\n\n```\n\n\n# Data Generation \n\n```{r generate_data}\nr_x \u003c- generate_data(mean = 20.5, sd = 0.2)\nr_y \u003c- generate_data(mean = 10.5, sd = 0.1)\ndf \u003c- data.frame(x = r_x, y=r_y, group = rep(paste0(\"grp_\", 1:5), 10))\n```\n\n\n# Run UMAP \n\n```{r run_umap}\numap_df \u003c- run_umap(df[, -3],neighbors = 5,  seed = 520)\n```\n\n# Generate umart \n\n\n```{r generate_art}\ngenerate_umart(umap_df, group_col = df$group,\n               bg_color = \"#f2f5f3\", use_geom = \"geom_segment\",\n               xend = 0.5, yend = 12)\n```\n\n# Many neighbors \n\n```{r}\numaps \u003c- run_umap(df[, -3],neighbors = 2:5, seed = 20)\ngroups \u003c- rep(paste0(\"g_\", 1:5), 40)\n\ngenerate_umart(umaps, group_col = groups, opacity = 0.15,\n               bg_color = \"#f6feff\", use_geom = \"geom_col\",\n               use_palette = \"Blues\"\n               ) \n\n\n```\n\n---\n\n\nPlease note that the `umart` project is released with a [Contributor Code of Conduct](https://github.com/Nelson-Gon/umart/blob/main/.github/CODE_OF_CONDUCT.md).\nBy contributing to this project, you agree to abide by its terms.\n\nFor further exploration, please `browseVignettes(\"umart\")`.\n\nTo raise an issue, please do so\n[here](https://github.com/Nelson-Gon/umart/issues)\n\nThank you, feedback is always welcome :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelson-gon%2Fumart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnelson-gon%2Fumart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnelson-gon%2Fumart/lists"}