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
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