interchromosomal: Loops between chromosomes

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
3
4
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

aryeelab/diffloop documentation built on May 12, 2019, 3:42 a.m.