Arcadia-Science / sourmashconsumr

Working with the outputs of sourmash in R
https://arcadia-science.github.io/sourmashconsumr/
Other
21 stars 3 forks source link

change `read_signature()` to read in from one or many files #45

Closed taylorreiter closed 1 year ago

taylorreiter commented 1 year ago

both read_gather() and read_taxonomy_annotate() automatically determine whether a user provided one file path or many file paths, and then read all of the files into a single data frame. read_signature() currently doesn't do that...it only works on one file. But it's simple to make it read many using purrr::map_dfr(read_signature)...so I should implement that so that the user experience for the functions are consistent.

taylorreiter commented 1 year ago

addressed in #48