Learn R Programming

MSbox (version 1.4.8)

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

Description

get the sample name which has the max ion intensity

Usage

getMax(x)

Value

a data frame

Arguments

x

sample ion intensity matrix, row sample, column feature.

Examples

Run this code
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)

Run the code above in your browser using DataLab