getMax: Get the sample name which has the max ion intensity

View source: R/getMax.R

getMaxR Documentation

Get the sample name which has the max ion intensity

Description

get the sample name which has the max ion intensity

Usage

getMax(x)

Arguments

x

sample ion intensity matrix, row sample, column feature.

Value

a data frame

Examples

dat <- cbind.data.frame(mz = c(100, 101, 300), mz2 = c(0, 0 , 1), mz3 = c(1, 9, 1))
rownames(dat) <- c("A", "B", "C")
out <- getMax(dat)

YonghuiDong/MSbox documentation built on Jan. 12, 2023, 3:48 p.m.