@ebi-gene-expression-group/atlas-bioentity-information

2.1.4 • Public • Published

Bioentity Information Card for Expression Atlas

Build Status Coverage Status

React component

import BioentityInformation from '@ebi-gene-expression-group/atlas-bioentity-information'

ReactDOM.render(
  <BioentityInformation
    className={`foobar`}
    bioentityProperties={
      {
        type: `expression_atlas`,
        name: `Expression Atlas`,
        values: [
          {
            text: `ENSG00000012048`,
            url: `https://www.ebi.ac.uk/gxa/genes/ENSG00000012048`,
            relevance: 0
          }
        ]
      }
    }/>,
  node)

** Deprecated legacy mode, will be removed in next major version **

Render convenience method with Atlas React Fetch Loader

import { render } from '@ebi-gene-expression-group/atlas-bioentity-information'

render(
  {
    host: `https://www.ebi.ac.uk/gxa/sc`,
    geneId: `ENSG00000012048`
  },
  node)
)

Readme

Keywords

none

Package Sidebar

Install

npm i @ebi-gene-expression-group/atlas-bioentity-information

Weekly Downloads

1

Version

2.1.4

License

Apache-2.0

Unpacked Size

12.7 kB

Total Files

5

Last publish

Collaborators

  • ebi-karel
  • alfonsomunozpomer
  • lingyun1010
  • haideriqbal
  • ukumbham