lianos / sparrow

Take command of your set enrichment analyses.
https://lianos.github.io/sparrow/
MIT License
20 stars 1 forks source link

geneSetURL functions can now be pointers to functions #9

Closed lianos closed 3 years ago

lianos commented 3 years ago

We previously stored real functions in the GeneSetDb@collectionMetaData data.table. This inflated the size of the GeneSetDb, which was super noticeable when it was serialized, because functions carry pointers to their environments.

I tried to srip the envinorment before storing the function but that didn't work well, so now we the url_function in the GeneSetDb@collectionMetaData can be the name of a function, which is then snathed from the etheR