### =========================================================================
### findOverlaps methods
### -------------------------------------------------------------------------
### findOverlaps
setMethod("findOverlaps", c("RangedSummarizedExperiment", "Vector"),
function(query, subject, maxgap=-1L, minoverlap=0L,
type=c("any", "start", "end", "within", "equal"),
select=c("all", "first", "last", "arbitrary"),
ignore.strand=FALSE)
{
query <- rowRanges(query)
callGeneric()
}
)
setMethod("findOverlaps", c("Vector", "RangedSummarizedExperiment"),
function(query, subject, maxgap=-1L, minoverlap=0L,
type=c("any", "start", "end", "within", "equal"),
select=c("all", "first", "last", "arbitrary"),
ignore.strand=FALSE)
{
subject <- rowRanges(subject)
callGeneric()
}
)
setMethod("findOverlaps", c("RangedSummarizedExperiment",
"RangedSummarizedExperiment"),
function(query, subject, maxgap=-1L, minoverlap=0L,
type=c("any", "start", "end", "within", "equal"),
select=c("all", "first", "last", "arbitrary"),
ignore.strand=FALSE)
{
query <- rowRanges(query)
subject <- rowRanges(subject)
callGeneric()
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.