vmikk / metagMisc

Miscellaneous functions for metagenomic analysis.
MIT License
46 stars 11 forks source link

Rewrite `prevalence` function using `data.table` #27

Closed vmikk closed 1 year ago

vmikk commented 1 year ago

The current implementation of the prevalence function utilizes base R functionalities for data manipulation and processing. While this works fine for small datasets, it becomes significantly slower when handling larger, more complex datasets. To improve the function's performance, it should be rewritten using the magnificent data.table package which offers fast and memory-efficient methods for data manipulation.

Related with #26

vmikk commented 1 year ago

Closed via 730c459945a0e12d5bccae5601cb4e1dcafc0bcc