How to use the protvista-feature-adapter.formatTooltip function in protvista-feature-adapter

To help you get started, we’ve selected a few protvista-feature-adapter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ebi-webcomponents / nightingale / packages / protvista-proteomics-adapter / src / ProtvistaProteomicsAdapter.js View on Github external
adaptedData = data.features.map(feature => {
      return Object.assign(feature, {
        category: "PROTEOMICS",
        type: feature.unique ? "unique" : "non_unique",
        tooltipContent: formatTooltip(feature)
      });
    });
    adaptedData = renameProperties(adaptedData);

protvista-feature-adapter

[![Published on NPM](https://img.shields.io/npm/v/protvista-feature-adapter.svg)](https://www.npmjs.com/package/protvista-feature-adapter)

MIT
Latest version published 3 months ago

Package Health Score

79 / 100
Full package analysis