R/normalize_peaks.R

Defines functions normalize_peaks

Documented in normalize_peaks

#' @title Normalize peaks
#'
#' @description This function normalizes peaks
#'
#' @return NULL
#'
#' @export
#'
#' @examples NULL
normalize_peaks <- function() {
  function(x, ...) {
    x[, 2] <- 100 * x[, 2] / max(x[, 2])
    return(x)
  }
}
taxonomicallyinformedannotation/tima-r documentation built on July 17, 2024, 7:11 p.m.