powered by
get the sample name which has the max ion intensity
getMax(x)
a data frame
sample ion intensity matrix, row sample, column feature.
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