Expose maf, skip_regions, skip_analysis_pip_cutoff in rss_analysis#1386
Open
Yining97 wants to merge 1 commit into
Open
Expose maf, skip_regions, skip_analysis_pip_cutoff in rss_analysis#1386Yining97 wants to merge 1 commit into
Yining97 wants to merge 1 commit into
Conversation
Restores three legacy univariate_rss knobs as first-class rss_analysis parameters, routed to summaryStatsQc(): --maf (mafCutoff, default 0.0025), --skip-regions (skipRegion), and --skip-analysis-pip-cutoff (pipCutoffToSkip, default 0.025). construct.R gains --maf/--skip-region flags and rejects the same keys in --qc-args; the notebook forwards all three. A default run now MAF-filters at 0.0025 and PIP-skips at 0.025, matching the legacy workflow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Restores three legacy
univariate_rssknobs as first-classrss_analysisparameters, all routed tosummaryStatsQc():--maf(mafCutoff, default 0.0025) — was reachable only via--qc-argsand defaulted to 0 (off).--skip-regions chr:start-end …(skipRegion) — drop variants in given windows.--skip-analysis-pip-cutoff(pipCutoffToSkip, default 0.025) — skip a no-signal region;construct.Ralready had the flag but the notebook didn't forward it.construct.Rgains--maf/--skip-regionand rejects the same keys in--qc-args. A default run now MAF-filters at 0.0025 and PIP-skips at 0.025, matching legacy behavior.Validated on the protocol_example chr22 MWE: default filter 24→19 variants;
--maf 0→24; skip-region 19→11;--skip-analysis-pip-cutoff 0.999skips the region; clash guard errors. Full 4-step run green.