Skip to content

fix(comparison-plots): Add standard error confidence intervals to label#201

Merged
tonywu1999 merged 1 commit intodevelfrom
fix-comparison-plots
Apr 23, 2026
Merged

fix(comparison-plots): Add standard error confidence intervals to label#201
tonywu1999 merged 1 commit intodevelfrom
fix-comparison-plots

Conversation

@tonywu1999
Copy link
Copy Markdown
Contributor

@tonywu1999 tonywu1999 commented Apr 23, 2026

PR Type

Bug fix


Description

  • Fix Plotly comparison plot tooltips

  • Show logFC ± ciw in hover labels

  • Wire comparison plots to use text aesthetic


Diagram Walkthrough

flowchart LR
  gg["Comparison ggplot points"] -- "add hover text" --> text["logFC ± ciw label"]
  text -- "used by" --> plotly["Plotly tooltip rendering"]
  plotly["Plotly conversion"] -- "switch tips to `text`" --> hover["Correct comparison hover labels"]
Loading

File Walkthrough

Relevant files
Bug fix
groupComparisonPlots.R
Use text-based tooltips in Plotly conversion                         

R/groupComparisonPlots.R

  • Update Plotly conversion to use text tooltips
  • Replace tooltip field from logFC to point hover text
  • Ensure comparison plots expose formatted interval labels
+1/-1     
utils_groupcomparison_plots.R
Add confidence interval text to plot points                           

R/utils_groupcomparison_plots.R

  • Add point text aesthetic for hover content
  • Format labels as logFC plus-minus ciw
  • Keep displayed values rounded to four decimals
+2/-1     

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@tonywu1999 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 25 minutes and 42 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 25 minutes and 42 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 25628bf5-46a6-407b-ae22-12077bf93ab1

📥 Commits

Reviewing files that changed from the base of the PR and between cf46505 and c1693bc.

📒 Files selected for processing (2)
  • R/groupComparisonPlots.R
  • R/utils_groupcomparison_plots.R
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-comparison-plots

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

@tonywu1999 tonywu1999 merged commit ffcf6d7 into devel Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant