Open thomcsmits opened 1 week ago
Perhaps we could enable this on a more generic level by allowing createRowHref
and createColHref
functions to be provided to the component? This would avoid specifically tying this to HuBMAP and enable more configurability for users.
e.g. for the HuBMAP datasets case, we would be able to pass in
createRowHref={(row) => `https://www.portal.hubmapconsortium.org/browse/datasets/${row}`}
We'd be able to pass in a similar function to link to cell types' ontology definitions:
createColumnHref={(col) => `https://www.ebi.ac.uk/ols4/search?q=${col}&ontology=cl`}
Add the option to add hyperlinks for samples to i.e., HuBMAP Data Portal datasets.
Would work better if the sample information is not a hover, but a click for expanding window.