R/label2jaq.R

label2jaq <-
function( label, phased = TRUE){
   
    out <- allJaq()

    jaq <- numeric( length( label )) 
    sel <- ifelse( phased, 2,3 )
    for( i in 1:length(label)){
        jaq[i] <- out[ out[,1]== label[i], sel]
        }
        
    return( jaq ) 
}

Try the IBDlabels package in your browser

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

IBDlabels documentation built on May 2, 2019, 5:54 p.m.