Description Usage Arguments Value Author(s) Examples
These functions can be used to access data stored in the slots of a GenomicInteractions object. They are mostly retained for convenience and backwards compatibility - users are recommended to use the getters from the GenomicInteractions package itself.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | name(GIObject)
anchorOne(GIObject)
anchorTwo(GIObject)
interactionCounts(GIObject)
annotationFeatures(GIObject)
## S4 method for signature 'GenomicInteractions'
name(GIObject)
## S4 method for signature 'GenomicInteractions'
description(object)
## S4 method for signature 'GenomicInteractions'
anchorOne(GIObject)
## S4 method for signature 'GenomicInteractions'
anchorTwo(GIObject)
## S4 method for signature 'GenomicInteractions'
interactionCounts(GIObject)
## S4 method for signature 'GenomicInteractions'
annotationFeatures(GIObject)
## S4 method for signature 'GenomicInteractions'
seqinfo(x)
|
GIObject |
A GenomicInteractions object. |
object |
Object, possibly derived from class |
x |
A GenomicInteractions object |
For anchorOne
and anchorTwo
, a GRanges for the first and second anchor regions, respectively.
For interactionCounts
, a numeric vector with counts for each interaction in the object.
For description
and name
, a string containing the description and name of the object, respectively.
For annotationFeatures
, a character vector of features with which the object was previously annotated,
or NA
if the object is unannotated.
For seqinfo
, a Seqinfo object for the regions in GIObject
.
Malcolm Perry, Elizabeth Ing-Simmons
1 2 3 4 5 6 7 8 9 10 11 12 13 | anchor.one = GRanges(c("chr1", "chr1", "chr1", "chr1"),
IRanges(c(10, 20, 30, 20), width=5))
anchor.two = GRanges(c("chr1", "chr1", "chr1", "chr2"),
IRanges(c(100, 200, 300, 50), width=5))
interaction_counts = sample(1:10, 4)
test <- GenomicInteractions(anchor.one, anchor.two,
counts=interaction_counts)
name(test)
description(test)
anchorOne(test)
anchorTwo(test)
interactionCounts(test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.