Display raw sample intensities instead of log2-transformed values#25
Conversation
Drop the log2 transform and y_min=0 from the BarChartColumn. With absolute log2 values around 30, a real log2FC of 3 only translated to ~10% bar-height difference, making bars look indistinguishable across samples. Plotting raw intensities (with per-row auto-scaling) lets fold changes show up visually.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe abundance visualization page removes NumPy dependency and modifies the Intensity column calculation. Instead of using log2-transformed values, the chart now displays raw sample intensities stored directly as lists per row. The tooltip text is updated accordingly, and the explicit minimum y-axis configuration is removed. Changes
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Summary
Updated the abundance results page to display raw sample intensities in the bar chart instead of applying log2 transformation. This change simplifies the data visualization and provides users with the original intensity values.
Key Changes
numpyimport as it's no longer needed for log2 transformationnp.log2(v + 1)transformationy_min=0parameter from the BarChartColumn configurationImplementation Details
The intensity values are now converted to a simple list format without any mathematical transformation, allowing the bar chart to display the actual sample intensity values as they exist in the data.
https://claude.ai/code/session_01Xojyb5SKM1zUkCMPLr63KE
Summary by CodeRabbit