Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anatomogram

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anatomogram

Expression Atlas anatomogram

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by100%
Maintainers
2
Weekly downloads
 
Created
Source

Expression Atlas Anatomogram React component

This is an anatomogram for Expression Atlas that we use to illustrate the experiments.

See demo here

The ontology IDs are sourced from Uberon, EFO and Plant Ontology.

To install: npm install --save anatomogram

You can reuse it as a React component or add a non-React wrapper. For example uses, see the code for the demo component and how we use it in github.com/gxa or get in touch.

Contribute

Development

Required:

npm, webpack, webpack-dev-server

To update the anatomograms or ontology IDs edit them in the resources/svg directory, then run

scripts/idsForSvgs.py

This regenerates the file resources/json/idsForSvgs.svg.

To add new anatomograms put them in the resources/svg directory, then edit the config resources/json/svgsForSpecies.json.

When you are finished run a local copy of the demo page:

webpack-dev-server -d

Go to localhost:9000/html and see that the tissues show up like you want them to.

Publish

Regenerate the bundled files:

webpack

Examine the output and see that there were no errors.

git add . && git commit -m "Example update"
git show # see the changes you made
git push

Go to the demo page and see that the change shows up there.

Optionally: bump the package version, publish on npm, then in Atlas require the newest version, and reinstall it.

FAQs

Package last updated on 07 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc