R/FinalTable.R

Defines functions FinalTable

Documented in FinalTable

FinalTable <- function(x){
	peaks <- x$a[[2]][2]
        BaseMZ <- x$a[[3]][4]
        BaseMZ <- gsub("m/z","",BaseMZ)
        tic1 <- sum(as.numeric(x$b[,2]))
        total <- c(peaks,BaseMZ,tic1)
        return(total)
        }

Try the HTDA package in your browser

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

HTDA documentation built on May 2, 2019, 4:53 p.m.