UW-GAC / genetable

A set of R functions to obtain gene definitions from an outside data source and make a table of those gene definitions in the GAC database
Other
0 stars 0 forks source link

Parse optional arguments on import #10

Closed bheavner closed 7 years ago

bheavner commented 7 years ago

Since some optional fields are 0 or many key:value pairs, add logic to tidy them by separating and adding rows as needed. See #4 for example. Fields are defined at https://www.gencodegenes.org/data_format.html

bheavner commented 7 years ago

one option: dplyr::extract keeps full match, so maybe do repeat extract() calls to trim that down a bit at a time?

Then, spread the key:value pairs to their own rows.