Skip to content

Commit

Permalink
Merge pull request #101 from RemyDeB/patch-2
Browse files Browse the repository at this point in the history
[fix] fix issue on vignette (issue #100)
  • Loading branch information
jorainer authored Oct 3, 2023
2 parents 3f06dac + 1f73383 commit bd38013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/MetaboAnnotation.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ replace the absolute spectra intensities with intensities relative to the
maximum intensity of each spectrum.

```{r}
scale_int <- function(x) {
scale_int <- function(x,...) {
x[, "intensity"] <- x[, "intensity"] / max(x[, "intensity"], na.rm = TRUE)
x
}
Expand Down

0 comments on commit bd38013

Please sign in to comment.