categoriseInteractions {GenomicInteractions} | R Documentation

## 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

    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)

[Package GenomicInteractions version 1.14.0 Index]