Skip to content

ENH: add transform-log action - #6

Open
VinzentRisch wants to merge 17 commits into
bokulich-lab:mainfrom
VinzentRisch:2_log_normal_transform
Open

ENH: add transform-log action#6
VinzentRisch wants to merge 17 commits into
bokulich-lab:mainfrom
VinzentRisch:2_log_normal_transform

Conversation

@VinzentRisch

@VinzentRisch VinzentRisch commented Feb 3, 2026

Copy link
Copy Markdown
Member

closes #2
depends on #5
depends on qiime2/q2-types#383

Added action to log transform a feature table with pseudocount.

Comment thread q2_mfa/plugin_setup.py Outdated
)

plugin.methods.register_function(
function=transform_log,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should be even more suggestive than this. i.e. transform_<omic> and then we have a variety of methods available which are suitably justified.

Really quite similar to your feature table normalization already.

Comment thread q2_mfa/plugin_setup.py Outdated
parameters={
"pseudocount": Float % Range(0, None, inclusive_start=False),
},
outputs=[("log_table", FeatureTable[Composition])],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually not quite a composition, I'm not sure what it is actually as it's also not frequency anymore since I assume MS data will yield negative values after log-transform.

@VinzentRisch VinzentRisch mentioned this pull request Apr 14, 2026
@github-actions github-actions Bot removed the dependent label May 4, 2026
@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

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.

Create log-normal transformation action

2 participants