getMax {MSbox}R 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)

[Package MSbox version 1.4.8 Index]