Fix docs#136
Conversation
📝 WalkthroughWalkthroughThis PR updates package documentation and metadata for MSstatsConvert. The main change clarifies the ChangesDocumentation and Metadata Clarification
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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. Comment |
Motivation and Context
This PR addresses documentation inconsistencies and clarity issues in the MSstatsConvert package, particularly around the
summaryforMultipleRowsparameter used across multiple converter functions. Users were confused about the scope of this parameter—specifically, whether it controlled aggregation across fractions of the same biological mixture. The PR clarifies that this parameter only applies to handling duplicate PSMs (peptide-spectrum matches) within a single MS run, and explicitly states that it does NOT control collapsing across fractions. The PR also updates the roxygen2 configuration and improves the vignette explanation of fraction handling.Detailed Changes
Package Metadata
DESCRIPTIONfile: removedRoxygenNote: 7.3.3field and addedConfig/roxygen2/version: 8.0.0to reflect roxygen2 configuration version changeman/MSstatsConvert.RdDocumentation Parameter Clarifications
Expanded the
summaryforMultipleRowsargument documentation across 19 converter function man pages to consistently clarify:max) or sum of duplicate intensitiesmaxfor label-free converters,sumfor TMT convertersAffected functions:
DIAUmpiretoMSstatsFormatFragPipetoMSstatsFormatMaxQtoMSstatsFormatMaxQtoMSstatsTMTFormatMetamorpheusToMSstatsFormatOpenMStoMSstatsFormatOpenSWATHtoMSstatsFormatPDtoMSstatsFormatPDtoMSstatsTMTFormatPhilosophertoMSstatsTMTFormatProgenesistoMSstatsFormatProteinProspectortoMSstatsTMTFormatSpectroMinetoMSstatsTMTFormatSpectronauttoMSstatsFormat.sharedParametersAmongConverters(internal helper)Internal Documentation Updates
R/utils_documentation.Rfor the.sharedParametersAmongConverters()function with the same parameter clarifications.getFullDesign.Rdman page with minor formatting adjustments (reordered and reformattedfeature_colandmeasurement_colargument entries)Vignette Updates
vignettes/msstats_data_format.Rmdto:MSstatsBalancedDesignselects a single fraction for overlapped features in label-free/SRM data (using largest number of non-missing MS runs; ties broken by highest mean intensity)NAsummaryforMultipleRowsconverter parameterUnit Tests
No unit tests were added or modified in this pull request. This is a documentation-only release.
Coding Guidelines
According to the project's CONTRIBUTING.md guidelines, all changes appropriately:
.Rfiles rather than directly editing.Rdfiles (following contribution guidelines for documentation updates)Note: The PR does not appear to include updates to
NEWS.mdor package version bump, which are typically required according to the contribution guidelines before merging. These items may need to be addressed before final approval.