Description Usage Arguments Value Examples
Subsets interactions for which at least one of the anchors overlaps with a given GRanges object. Alternatively, subsets interactions based on annotated feature IDs for a particular feature.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | subsetByFeatures(GIObject, features, feature.class = NULL)
## S4 method for signature 'GenomicInteractions,GRanges,missing'
subsetByFeatures(GIObject,
features, feature.class = NULL)
## S4 method for signature 'GenomicInteractions,GRangesList,missing'
subsetByFeatures(GIObject,
features, feature.class = NULL)
## S4 method for signature 'GenomicInteractions,character,character'
subsetByFeatures(GIObject,
features, feature.class = NULL)
|
GIObject |
A GenomicInteractions object. |
features |
A GRanges or GRangesList object, or a character vector containing IDs of annotated features, e.g. promoter IDs. |
feature.class |
String containing the feature name to use if |
A subsetted GenomicInteractions object.
1 2 3 4 5 6 7 | data("hic_example_data")
hic_example_data <- updateObject(hic_example_data)
data("mm9_refseq_promoters")
annotateInteractions(hic_example_data, list(promoter = mm9_refseq_promoters))
ids <- names(mm9_refseq_promoters[1:10])
subsetByFeatures(hic_example_data, ids, "promoter")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.