Closed bheavner closed 7 years ago
genetable::import_gencode() is well under way. I need to do some tidying on the tibble, then select the attributes and features of interest. (or perhaps just tidy tibble, and selecting will be a separate step to facilitate other functions?).
Column 9 is the one that needs to be cleaned up. See https://www.gencodegenes.org/data_format.html
That suggests maybe refactor current function so it just takes a path argument. Selecting feature and attribute should be a different function.
I want a function that takes a file path, a string matching the feature of interest, and a string matching the attribute of interest as arguments, and returns a data frame containing the rows from the file that match the feature and contain the attribute.