intrachromosomal: Loops within chromosomes

Description Usage Arguments Details Value Examples

Description

intrachromosomal restricts interactions to those where anchors are observed on the same chromosomes

Usage

1
2
3
4
intrachromosomal(dlo)

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

Arguments

dlo

A loops object

Details

This function subsets the loops object into only those interactions that have both anchors on the same chromosome

Value

A loops object where all loops are on the same chromosome.

Examples

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

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