Skip to content

Commit

Permalink
Add note explaining precursorScanNum being set to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 17, 2017
1 parent 434ac16 commit c043544
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/methods-write.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
#' m/z or base peak intensity are calculated from the actual spectrum data
#' before writing the data to the files.
#'
#' For MSn data, if the `OnDiskMSnExp` or `MSnExp` does not contain also the
#' precursor scan of a MS level > 1 spectrum `precursorMZ`,
#' `precursorCharge` and `precursorIntensity` of the spectrum is set to 0
#' in the output file.
#' For MSn data, if the `OnDiskMSnExp` or `MSnExp` does not contain also
#' the precursor scan of a MS level > 1 spectrum (e.g. due to filtering on
#' the MS level) `precursorScanNum` is set to 0 in the output file to
#' avoid potentially linking to a wrong spectrum.
#'
#' @param object `OnDiskMSnExp` or `MSnExp` object.
#'
Expand Down
8 changes: 4 additions & 4 deletions man/writeMSData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c043544

Please sign in to comment.