GenomicInteractions (version 1.6.2)

categoriseInteractions: Get the numbers of interaction types existing in your data

Description

Get the numbers of interaction types existing in your data

Usage

categoriseInteractions(GIObject, node.classes = NULL, viewpoints = NULL)

Arguments

GIObject
A GInteractions object
node.classes
Optional. All node.classes to include in the analysis. Default: all node classes.
viewpoints
Optional. If set will only consider interactions where at least one anchor is of this node class. Default: all classes in node.classes.

Value

A data.frame.

Examples

Run this code
library("GenomicRanges")
data(hic_example_data)
data(mm9_refseq_promoters)
mm9_refseq_grl = split(mm9_refseq_promoters, mm9_refseq_promoters$id)
annotateInteractions(hic_example_data, list(promoter=mm9_refseq_grl))
categoriseInteractions(hic_example_data)

Run the code above in your browser using DataCamp Workspace