R/gethits.R

Defines functions gethits

Documented in gethits

gethits <-
function(hitsfile){
  data <- read.table(file = hitsfile)
  chromosomes <- unique(data$V1)
  if(length(chromosomes)>1){stop("You have provided hits originating from more than one chromosome. Please parse chromosomes separately")}
  hits <- data$V2
  return(hits)
}

Try the CNOGpro package in your browser

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

CNOGpro documentation built on May 2, 2019, 5:57 a.m.