R/coverage-methods.R

### =========================================================================
### "coverage" methods
### -------------------------------------------------------------------------
###

#' @importMethodsFrom IRanges coverage
#'
#' @export
setMethod("coverage", 
          "GTuples",
          function(x, shift = 0L, width = NULL, weight = 1L,
                   method = c("auto", "sort", "hash")) {
            stop(class(x), " do not currently support the 'coverage' method.")
          }
)

#' @importMethodsFrom IRanges coverage
#'
#' @export
setMethod("coverage", 
          "GTuplesList",
          function(x, shift = 0L, width = NULL, weight = 1L,
                   method = c("auto", "sort", "hash")) {
            stop(class(x), " do not currently support the 'coverage' method.")
          }
)  

Try the GenomicTuples package in your browser

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

GenomicTuples documentation built on Nov. 8, 2020, 6:43 p.m.