Description Usage Arguments Value Examples
Use these functions to access data stored in each of the slots of a GenomicInteractions object.
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 | name(GIObject)
anchorOne(GIObject)
anchorTwo(GIObject)
interactionCounts(GIObject)
annotationFeatures(GIObject)
## S4 method for signature 'GInteractions'
name(GIObject)
## S4 method for signature 'GInteractions'
description(object)
## S4 method for signature 'GInteractions'
anchorOne(GIObject)
## S4 method for signature 'GInteractions'
anchorTwo(GIObject)
## S4 method for signature 'GInteractions'
interactionCounts(GIObject)
## S4 method for signature 'GInteractions'
annotationFeatures(GIObject)
|
GIObject |
A Gnteractions object |
object |
Object, possibly derived from class |
For 'anchorOne' and 'anchorTwo', a GRanges. For 'interactionCounts', a numeric vector with counts for each interaction in the object. For 'description' and 'name', a character vector with length 1. For 'annotationFeatures', a character vector of features with which the object was previously annotated, or 'NA' if the object is unannotated.
1 2 3 4 5 6 7 8 9 10 11 12 | library(GenomicRanges)
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.