Skip to content

Commit

Permalink
stuff that was Deprecated is now Defunct.
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Apr 16, 2014
1 parent 052b17b commit 74476bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/GRangesList-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ setReplaceMethod("[[", "GRangesList", .dBracketReplaceGRList)
setMethod("relistToClass", "GRanges", function(x) "GRangesList")

setMethod("splitAsListReturnedClass", "GRanges",
function(x) {.Deprecated("relistToClass"); "GRangesList"}
function(x) {.Defunct("relistToClass"); "GRangesList"}
)


Expand Down
2 changes: 1 addition & 1 deletion R/makeSeqnameIds.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ makeSeqnameIds <- function(seqnames, X.is.sexchrom=NA)
{
txt <- "'makeSeqnameIds' is deprecated.
Use 'rankSeqlevels()' in 'GenomeInfoDb' instead."
.Deprecated("rankSeqlevels", msg=paste(strwrap(txt), collapse="\n"))
.Defunct("rankSeqlevels", msg=paste(strwrap(txt), collapse="\n"))
rankSeqlevels(seqnames, X.is.sexchrom=NA)
}

4 changes: 2 additions & 2 deletions R/seqinfo.R
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ setGeneric("seqnameStyle", function(x) standardGeneric("seqnameStyle"))
setMethod("seqnameStyle", "ANY",
function(x)
{
.Deprecated("seqlevelsStyle")
.Defunct("seqlevelsStyle")
seqlevelsStyle(x)
}
)
Expand All @@ -376,7 +376,7 @@ setGeneric("seqnameStyle<-", signature="x",
setReplaceMethod("seqnameStyle", "ANY",
function(x, value)
{
.Deprecated("seqlevelsStyle")
.Defunct("seqlevelsStyle")
`seqlevelsStyle<-`(x, value)
}
)
Expand Down

0 comments on commit 74476bd

Please sign in to comment.