grunwaldlab / grunwaldlab/metacoder

consider functions for alpha/beta diversity per taxon

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

Nobody has claimed this yet.

Priority: High Status: In Progress Type: Enhancement
Dominant language
R
Stars
148
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Usually, diversity stats compare whole communities. Since there is usually a specific group of organisms being worked on (bacteria, fungi), this is implicty the diversity of a taxon. Therefore, we can abstract this to doing calculations on every taxon, with the value of the "root" being the entire "community". This should be possible using compare_groups and heat_tree_matrix. There might be patterns in specific subtaxa not present in their supertaxa.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reading the existing compare_groups and heat_tree_matrix functionality. Determine how alpha and beta diversity are currently calculated for whole communities, then assess how calculations for every taxon could use the root as the full community. Done should include a defined approach for detecting patterns in subtaxa and supporting the requested calculations.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.