refactor(getSubnetworkFromIndra): Switch column from pvalue to adj.pvalue for nodes table#52
refactor(getSubnetworkFromIndra): Switch column from pvalue to adj.pvalue for nodes table#52tonywu1999 merged 1 commit intodevelfrom
Conversation
…alue for nodes table
WalkthroughThe change updates the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
R/utils_getSubnetworkFromIndra.R (1)
260-266: Update downstream references to the renamedadj.pvaluecolumnWe only found one consumer still expecting
nodes$pvalue, so you’ll need to adjust that before merging:• R/visualizeNetworks.R
– Line 8 & 12 (roxygen tags): change mentions of “pvalue (number)” and@param pvalueCutoffdescription if they imply the old column name
– Line 47: replacenodes$pvaluewithnodes$adj.pvaluein the color‐assignment expressionWith these updates in place, all code reading the nodes table will correctly use
adj.pvalue.
🧹 Nitpick comments (1)
R/utils_getSubnetworkFromIndra.R (1)
260-266: Roxygen docs & examples need update.The roxygen block above
.constructNodesDataFrame()still refers generically to "p-value"; update it (and any examples) to mentionadj.pvalueso that generated docs stay accurate.
PR Code Suggestions ✨Explore these optional code suggestions:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## devel #52 +/- ##
=======================================
Coverage 64.71% 64.71%
=======================================
Files 7 7
Lines 598 598
=======================================
Hits 387 387
Misses 211 211 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary by CodeRabbit
PR Type
Bug fix
Description
File Walkthrough
utils_getSubnetworkFromIndra.R
Rename nodes column to adj.pvalueR/utils_getSubnetworkFromIndra.R
pvaluetoadj.pvalue.constructNodesDataFrameto use adjusted p-value field