inst/unitTests/test_ssrc.R

#R
# $HeadURL$
# $Id$
# $Date$

test_ssrc <-
function(){
        

    ssrc <- unlist(lapply(peptideStd, function(x){ssrc(x$peptideSequence)}))
    rt <- unlist(lapply(peptideStd, function(x){x$rt}))

    checkEqualsNumeric(cor(ssrc, rt, method='spearman'), 0.91, tolerance = 0.1)

}


test_ssrc()

Try the specL package in your browser

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

specL documentation built on Nov. 8, 2020, 7:55 p.m.