tidyomics / plyranges

A grammar of genomic data transformation
https://tidyomics.github.io/plyranges/
137 stars 19 forks source link

speed up group_by operations with mutate #108

Closed ppaxisa closed 5 months ago

ppaxisa commented 5 months ago

When operating on an ungrouped object, mutate will use methods from {plyranges} but when operating on a grouped object, mutate will rely on vanilla tidyverse by converting the object to a tibble. The result is then coerced back to DataFrame to update the metadata of the object. Of note, core columns can be used in this framework to create new metadata columns.

ppaxisa commented 5 months ago

sorry I tried to merge the wrong branch of my repository.