{"id":13736037,"url":"https://github.com/zachcp/phylocanvas","last_synced_at":"2025-08-05T06:21:55.053Z","repository":{"id":56937408,"uuid":"73126343","full_name":"zachcp/phylocanvas","owner":"zachcp","description":"htmlwidgets for phylocanvas","archived":false,"fork":false,"pushed_at":"2019-12-03T04:03:57.000Z","size":530,"stargazers_count":9,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-07T13:17:49.742Z","etag":null,"topics":["htmlwidgets","phylogeny","r"],"latest_commit_sha":null,"homepage":"http://zachcp.github.io/phylocanvas/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zachcp.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2016-11-07T22:22:33.000Z","updated_at":"2020-12-23T15:37:36.000Z","dependencies_parsed_at":"2022-08-21T06:50:11.609Z","dependency_job_id":null,"html_url":"https://github.com/zachcp/phylocanvas","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachcp%2Fphylocanvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachcp%2Fphylocanvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachcp%2Fphylocanvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachcp%2Fphylocanvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachcp","download_url":"https://codeload.github.com/zachcp/phylocanvas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224134200,"owners_count":17261401,"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":["htmlwidgets","phylogeny","r"],"created_at":"2024-08-03T03:01:14.768Z","updated_at":"2024-11-13T11:23:57.578Z","avatar_url":"https://github.com/zachcp.png","language":"R","funding_links":[],"categories":["Visualization"],"sub_categories":["Biological Data"],"readme":"\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\nphylocanvas\n===========\n\n[![CRAN\\_Status\\_Badge](http://www.r-pkg.org/badges/version/phylocanvas)](https://cran.r-project.org/package=phylocanvas)\n\nUse phylocanvas to draw phylogenetic trees in the browser. Basic options to control the tree are availalbe in this top level function. The tree shape in controlled by the `treetype` option. Try 'radial' and 'heirarchical' as well.\n\nInstallation\n------------\n\nYou can install phylocanvas from github with:\n\n``` r\ninstall.packages(\"phylocanvas\")\n```\n\nExample\n-------\n\nThis is a basic example which shows you how to solve a common problem:\n\n``` r\n\ninstall.packages(\"phylocanvas\")\n\ntree \u003c- ape::read.tree(\"(A:0.1,B:0.2,(C:0.3,D:0.4)E:0.5)F;\")\n\nphycanv \u003c- phylocanvas(tree,treetype = \"rectangular\", alignlabels = T)\n\n# stylize nodes\nphycanv %\u003e%\n  style_node(\"A\", nodesizeratio = 4, fillcolor=\"rgb(0, 255, 0)\") %\u003e% \n  style_node(\"B\", fillcolor = \"blue\") %\u003e%\n  style_node(\"C\", labeltextsize = 10, shape=\"triangle\") %\u003e%\n  style_node(\"D\", fillcolor=\"#ffa500\", highlighted=TRUE) \n```\n\nLatest Information\n------------------\n\nSee the [documentation webpage](https://zachcp.github.io/phylocanvas/) fot the latest information.\n\nRoadmap\n-------\n\nNot expecting 1:1 parity with the pure JS version. The goal is to expose the basic styling and sizing to allow easy tree drawing within R. Possibly, to use the metadata plugin for heatmap displays and ideally (don't know how hard this will be) allow drag and drop selection for returnign sequence names into shiny.\n\nReference\n---------\n\nThe sourcecode for the phylocanvas htmltools package can be found at the [github repo](https://github.com/zachcp/phylocanvas). For more information about the phylocanvas JavaScript library, check out the [phylocanvas website](http://phylocanvas.org).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachcp%2Fphylocanvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachcp%2Fphylocanvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachcp%2Fphylocanvas/lists"}