R/wig2CSARScore.R

Defines functions wig2CSARScore

Documented in wig2CSARScore

wig2CSARScore <- function(wigfilename,nbchr,chrle) {
  # Interfacing C code
  returned_data = .Call( 'wig2CSARScore_R_wrapper', 
        	   file_Name=as.character(wigfilename),
                   nbChr=as.integer(nbchr), 
                   chrL=as.integer(chrle))

  names(returned_data) <- c("chr", "chrL", "filenames", "digits")

  returned_data$chrL <- as.double(returned_data$chrL)     #CSAR specif

  return(list(infoscores=returned_data))
}

Try the NarrowPeaks package in your browser

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

NarrowPeaks documentation built on April 28, 2020, 6:51 p.m.