rarefaction - add multiple iterations option

Open
#124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
40/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
r
Domain
data

Research direction

Read the existing rarefaction function and the referenced MBSS code from 2025 to understand how iterations are calculated. Identify where options for 1,000 iterations, averaging and rounding, and parallel execution with foreach and doParallel fit. Done means a built-in option or function supports those requested behaviors.

Written by the indexing model from the issue text.

Description

enhancement

Is your feature request related to a problem? Please describe.
Add option in rarefaction (or a new function) to calculate multiple iterations of rarefaction.

Describe the solution you'd like
See MBSS code (2025).
Calculate 1000 iterations and then calculate mean (and round to 0 decimals).

Describe alternatives you've considered
Can do on own but have done twice so would be good as a built-in function.

Additional context
Include options of doing in parallel with foreach and doParallel packages. (Also, MBSS code 2025)

Dominant language
R
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leppott/BioMonTools

All issues in leppott/BioMonTools

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.