View source: R/calculate_score_array.R
calculate_score_array
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24  | calculate_score_array(
  MSspectrum = NULL,
  mz = NULL,
  intensity = NULL,
  sequence = NULL,
  PTMformula = "C0",
  charge = 1,
  range12C = c(0.986, 1),
  range14N = c(0.994, 1),
  range16O = c(0.996, 1),
  abund17O = c(0.00038),
  range32S = c(0.944, 0.953),
  abund33SCoarse = c(0.00749),
  range33S = c(0, 0.01),
  abundStepCoarse = 0.001,
  abundStepFine = 1e-04,
  SNR = 25,
  method = "MAD",
  refineMz = "kNeighbors",
  k = 2,
  resolvingPower = 3e+05,
  compFunc = "dotproduct",
  binSize = 0.05
)
 | 
MSspectrum | 
 An MSnbase Spectrum1 object.  | 
mz | 
 A numeric vector containing m/z values for a spectrum.  | 
intensity | 
 A numeric vector containing intensity values for a spectrum.  | 
sequence | 
 Sequence of the protein represented by the m/z and intensity vectors.  | 
PTMformula | 
 Chemical formula of PTMs of the proteoform represented by the m/z and intensity vectors. Formulas for all PTMs should be combined.  | 
charge | 
 Charge state of the proteoform represented by the m/z and intensity vectors.  | 
abundStepCoarse | 
 Abundance step to use for the coarse score array Must be larger than abundStepFine.  | 
abundStepFine | 
 Abundance step to use for the fine score array Must be smaller than abundStepCoarse.  | 
SNR | 
 Signal-to-noise cutoff to use for peak picking. See ?MSnbase::pickPeaks.  | 
method | 
 Method to use for peak picking. See ?MSnbase::pickPeaks.  | 
refineMz | 
 Method for m/z refinement for peak picking. See ?MSnbase::pickPeaks.  | 
k | 
 Number of neighboring signals to use for m/z refinement if refineMz = "kNeighbors". See ?MSnbase::pickPeaks.  | 
resolvingPower | 
 Resolving power to be usedy for generating the initial theoretical spectrum. This parameter does not need to match the resolving power of the experimental spectrum.  | 
compFunc | 
 Function to use for comparison of experimental and theoretical spectra. Acceptable values are "dotproduct" and "scoremfa".  | 
binSize | 
 Bin size to use for peak binning prior to comparing spectra. See ?MSnbase::bin.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.