Add tissue weight normalization to glycogen assay analysis#2
Draft
Add tissue weight normalization to glycogen assay analysis#2
Conversation
…files - Load tissue weights CSV (20251210-mgig-ctenidia_weights-glycogen_assay.csv) - Define homogenate_volume_uL = 1000 (750 µL PBS/HCl + 250 µL TRIS) - Add get_weight_from_label() helper to extract weight from plate layout labels - Add 'Normalized glycogen (ug/mg tissue)' column to glycogen summary tables - Add 'Normalized glucose (ug/mg tissue)' column to glucose summary tables - Formula: (dilution * conc * homogenate_volume_uL) / tissue_weight_mg - Updated files: Gen5-20260123 through Gen5-20260218 (8 production Rmd files) Co-authored-by: sr320 <4442039+sr320@users.noreply.github.com>
…3, 20260126, 20260130 Co-authored-by: sr320 <4442039+sr320@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix glycogen assay normalization issue
Add tissue weight normalization to glycogen assay analysis
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Glycogen/glucose results were reported as absolute concentrations (µg/µL in undiluted homogenate) with no normalization to tissue weight, making cross-sample comparisons biologically meaningless given the 7–50 mg sample weight range.
Approach
Normalization formula applied to all production assay Rmd files:
Changes (Gen5-20260123 through Gen5-20260218, 8 files)
20251210-mgig-ctenidia_weights-glycogen_assay.csv; definehomogenate_volume_uL <- 1000get_weight_from_label()— extracts weight from embedded plate layout label format<sampleID>-<type>-<weight>-df.<dilution>Normalized glycogen (ug/mg tissue)andNormalized glucose (ug/mg tissue)to existing 4-column matrices (dilution factor, luminescence, calculated conc, total conc)uMorCalculated Glycogen)Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.