Skip to content

Commit

Permalink
Update plotting-Spectrum.R
Browse files Browse the repository at this point in the history
fixed the default value in the plot.spectrum function
changed it from 0.1 to 25e-6
  • Loading branch information
floraliu1011 committed Jun 27, 2018
1 parent 70a9ec3 commit e9ddb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/plotting-Spectrum.R
Expand Up @@ -4,8 +4,8 @@
##' @param relative relative (or absolute) deviation
##' @param ... additional paramters passed to \code{.plotSpectrumVsSpectrum}.
##' @noRd
plotSpectrumVsSpectrum <- function(spectra, tolerance=0.1,
relative=FALSE,
plotSpectrumVsSpectrum <- function(spectra, tolerance=25e-6,
relative=TRUE,
...) {
common <- lapply(list(c(1, 2), c(2, 1)), function(x) {
commonPeaks(spectra[[x[1]]], spectra[[x[2]]],
Expand Down

0 comments on commit e9ddb46

Please sign in to comment.