Skip to content

New feature: allow merge_taxa to keep recored of merged (and inextension tax_glom).#1707

Open
derele wants to merge 3 commits intojoey711:masterfrom
derele:master
Open

New feature: allow merge_taxa to keep recored of merged (and inextension tax_glom).#1707
derele wants to merge 3 commits intojoey711:masterfrom
derele:master

Conversation

@derele
Copy link
Copy Markdown

@derele derele commented Oct 13, 2023

Hi Paul,

are you interested in adding a (tiny) new feature to phyloseq?

I needed something to track what tax_glom and merge_taxa are doing and implemented a small feature to allow for a function (mostly relevant for pasting together or counting) to be applied to the length>1 entries of the merged/agglomerated taxa.

I exposed the argument I implemented for merge_taxa only to tax_glom, not to any other of the relevant higher level functions (the only other relevant one would probably be tip_glom, I guess).

I left the default intact, so it should not break anything. I added the required documentation (via devtools::document()) and did my best to make sure that devtools::check() complains only about stuff that has nothing to do with my changes.

Feel free to pull or ignore!

All the best,
Emanuel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant