Genentech / FacileDataSet

A fluent API for accessing multi-assay high-throughput genomics data.
MIT License
4 stars 0 forks source link

simplify EAV roundtrip? #16

Open phaverty opened 6 years ago

phaverty commented 6 years ago

Now that we have cSurv, the EAV round-trip could be simplified to just

clazz = class(x)[1] y = as.character(x) a = as(y, clazz)

where clazz goes in the YAML. Do we want that here, or is that something for an alternate backend?

We might also consider the less ambitious goal of doing the eav_encode and eav_decode functions with S3 dispatch rather than paste and findFunction.