R/functions.R

Defines functions is_polyX phred_to_average_qual count_polyL

#
# .C and .Call wrappers
#

count_polyL <- function(letter, num, seq){
    trace.enter("count_polyL");
    on.exit({ trace.exit() })
    
    .Call("count_polyL", 
        as.character(letter), 
        as.integer(num), 
        as.character(seq), 
        PACKAGE="ArrayExpressHTS")
} 


phred_to_average_qual <- function(num, quals){
    trace.enter("phred_to_average_qual");
    on.exit({ trace.exit() })
    
    .Call("phred_to_average_qual", 
        as.integer(num), 
        as.character(quals), 
        PACKAGE="ArrayExpressHTS")
} 


is_polyX <- function(num, limit, base, seq){
    trace.enter("is_polyX");
    on.exit({ trace.exit() })
    
    .Call("is_polyX", 
        as.integer(num), 
        as.integer(limit), 
        as.character(base), 
        as.character(seq), 
        PACKAGE="ArrayExpressHTS")
} 

Try the ArrayExpressHTS package in your browser

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

ArrayExpressHTS documentation built on Nov. 8, 2020, 7:50 p.m.