R/label2jaq.R

Defines functions label2jaq

Documented in label2jaq

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, 9:58 a.m.