hubverse-org / hubData

Tools for accessing and working with hubverse Hub data
https://hubverse-org.github.io/hubData/
Other
3 stars 4 forks source link

Add function for output type conversion #11

Open elray1 opened 1 year ago

elray1 commented 1 year ago

It may be nice to have a utility function to convert between output types such as quantiles and samples when possible.

Two links to related resources:

elray1 commented 6 months ago

This comment relates to this issue as well as #8, #25, and #26. What's our planned API for this functionality for output type conversion? I propose that there be a single exported high-level function, corresponding to this issue, that handles data type conversion generally. As necessary it can delegate to/call other data type conversion functions as in those other issues.

nickreich commented 1 month ago

This is on @eahowerton 's to-do list, but is available for someone to pick up if they are looking to finish off a PR.

eahowerton commented 1 month ago

The functions ended up in hubUtils, PR here: https://github.com/hubverse-org/hubUtils/pull/150