Skip to content

Commit

Permalink
add update,DelegatingGenomicRanges so that we can set things on it
Browse files Browse the repository at this point in the history
  • Loading branch information
m.lawrence committed Oct 9, 2014
1 parent b56545d commit 4bbe693
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/DelegatingGenomicRanges-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ setMethod("ranges", "DelegatingGenomicRanges",

setMethod("strand", "DelegatingGenomicRanges", function(x) strand(x@delegate))
setMethod("seqinfo", "DelegatingGenomicRanges", function(x) seqinfo(x@delegate))

setMethod("update", "DelegatingGenomicRanges", function (object, ...) {
object@delegate <- update(object@delegate, ...)
object
})

0 comments on commit 4bbe693

Please sign in to comment.