Learn R Programming

diffloop (version 1.0.2)

intrachromosomal: Loops within chromosomes

Description

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

Usage

intrachromosomal(dlo)

## S3 method for class 'loops': intrachromosomal(dlo)

Arguments

dlo
A loops object

Value

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

Details

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

Examples

Run this code
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)

Run the code above in your browser using DataLab