interchromosomal {diffloop} | R Documentation

## Loops between chromosomes

### Description

`interchromosomal` restricts loops to those where anchors are observed on different chromosomes

### Usage

    interchromosomal(dlo)

    ## S4 method for signature 'loops'
    interchromosomal(dlo)

### Arguments

`dlo` | A loops object

### Details

This function subsets the `loops` object into only those loops that have anchors on different chromosomes

### Value

A loops object with all loops on different chromosomes

### Examples

    rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
    load(rda)

    # Compute number of interactions on same chromosome
    dim(intrachromosomal(loops.small))
    samechromo <- intrachromosomal(loops.small)

    # Compute number of interactions on same chromosome
    # dim(interchromosomal(loops.small))
    # This will throw and error since the toy only has intrachromosomal loops

[Package diffloop version 1.12.0 Index]