Skip to content

Commit

Permalink
add check=TRUE argument to update,GenomicRanges-method
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 10, 2012
1 parent 041a509 commit 7d3cb81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/GRanges-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ unsafe.update.GRanges <- function(x, ...)
x
}

setMethod(update, "GRanges",
setMethod("update", "GRanges",
function(object, ..., check=TRUE)
{
if (!isTRUEorFALSE(check))
Expand Down
2 changes: 1 addition & 1 deletion R/GenomicRanges-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ setMethod("score", "GenomicRanges", function(x) values(x)$score)
### external representations need further customization.

setMethod("update", "GenomicRanges",
function(object, ...)
function(object, ..., check=TRUE)
{
initialize(object, ...)
}
Expand Down

0 comments on commit 7d3cb81

Please sign in to comment.