@ebi-gene-expression-group/atlas-bioentity-information
v2.1.4
Published
Bioentity information
Downloads
89
Keywords
Readme
Bioentity Information Card for Expression Atlas
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)
)