R/normalize2D.R

#' Normalization of the matrix values
#'
#' Experimental function. Normalize matrix data.
#' @param mat Matrix of the TLC plate.
#'
#' @return Normalized matrix.
#'
#' @author Ivan D. Pavicevic, \email{ivanp84@@gmail.com}
#' 
#' @examples
#' \dontrun{
#' new_mat <- normalize2D(mat)
#' }
#'
#' @export
#'
normalize2D <- function(mat) {
	nmat <- (mat - min(mat))/(max(mat) - min(mat));
	return(nmat);
	}

Try the qtlc package in your browser

Any scripts or data that you put into this service are public.

qtlc documentation built on May 1, 2019, 8:45 p.m.