Description Objects from the Class Slots Methods Note Author(s) Examples
A class with a GRanges slot, used as a building block for other classes. Provides basic accessor functions etc.
Objects can be created by calls of the form new("hasGRanges", ...)
.
gr
:Object of class GRanges
.
Subsets a single dimension.
Get the GRanges
object representing
genomic locations.
Start, end and width
for the genomic locations of the object, also replacement
functions. This accessor functions operate directly on the
gr
slot.
Getting and setting the
strand
of the genomic locations (the gr
slot).
Getting and setting the
seqlengths
of the genomic locations (the gr
slot).
Getting and setting the
seqlevels
of the genomic locations (the gr
slot).
Getting and setting the
seqnames
of the genomic locations (the gr
slot).
The show method.
(query = "hasGRanges", subject =
"hasGRanges")
: finds overlaps between the granges()
of
the two objects.
(query = "GenomicRanges", subject =
"hasGRanges")
: finds overlaps between query and the granges()
of
the subject.
(query = "hasGRanges", subject =
"GenomicRanges")
: finds overlaps between the granges()
of the query and the subject.
(query = "hasGRanges", subject =
"hasGRanges")
: Subset the query, keeping the genomic locations that
overlaps the subject.
(query = "hasGRanges", subject =
"GenomicRanges")
: Subset the query, keeping the genomic
locations that overlaps the subject.
(query = "GenomicRanges",
subject = "hasGRanges")
: Subset the query, keeping the genomic
locations that overlaps the subject.
If you extend the hasGRanges
class, you should consider writing
a subset method ([
), and a show
method. If the new
class supports single index subsetting, the subsetByOverlaps
methods will automatically extend.
Kasper Daniel Hansen khansen@jhsph.edu
1 | showClass("hasGRanges")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.