Fix image paths and add dupRadar benchmark comparisons#15
Merged
Conversation
…ark plots Use import.meta.env.BASE_URL instead of hardcoded /RustQC/ prefix for image paths in outputs/dupradar.mdx and outputs/rseqc.mdx, matching the pattern already used in index.mdx. This fixes broken images when the site is deployed with a different base path (e.g., on Netlify). Also add side-by-side dupRadar plot comparisons to the featureCounts benchmark page, demonstrating that identical gene-level counts produce identical downstream visualizations. https://claude.ai/code/session_01QMMExQTjDXR5jHHYQvr8NR
✅ Deploy Preview for rustqc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Convert dupradar.md and featurecounts.md to .mdx so image src attributes can use import.meta.env.BASE_URL, ensuring images resolve correctly on the deployed site regardless of the base path. Also convert inline style strings to JSX objects as required by MDX. https://claude.ai/code/session_01QMMExQTjDXR5jHHYQvr8NR
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.
Summary
This PR improves documentation by fixing hardcoded image paths to use dynamic base URLs and adds visual comparisons of dupRadar outputs between R and RustQC implementations.
Key Changes
Fixed image path handling: Updated
rseqc.mdxanddupradar.mdxto use dynamicbaseURL fromimport.meta.env.BASE_URLinstead of hardcoded/RustQC/paths. This ensures images load correctly regardless of deployment base path.Added dupRadar benchmark comparisons: Expanded
featurecounts.mdwith a new "Side-by-side plots" section that visually compares R dupRadar output against RustQC output for three plot types:Improved documentation structure: Used CSS Grid layout for side-by-side image comparisons with proper spacing and captions, making it easier to verify that RustQC produces identical results to the reference R implementation.
Implementation Details
grid-template-columns: 1fr 1frfor equal-width columnshttps://claude.ai/code/session_01QMMExQTjDXR5jHHYQvr8NR