synchronizeReadDir: Synchronize Strand-seq read directionality

View source: R/syncReads.R

synchronizeReadDirR Documentation

Synchronize Strand-seq read directionality

Description

This function aims to synchronize strand directionality of reads that fall into WW and CC regions.

Usage

synchronizeReadDir(files2sync, collapseWidth = 5e+06)

Arguments

files2sync

A list of files that contains BreakPoint objects.

collapseWidth

A segment size to be collapsed with neighbouring segments.

Value

A GRanges-class object that reads synchronized by directionality.

Author(s)

David Porubsky

Examples

## Get some files that you want to load
exampleFolder <- system.file("extdata", "example_results", package="breakpointRdata")
files2sync <- list.files(exampleFolder, full.names=TRUE)[1]
synchronizeReadDir(files2sync=files2sync)


daewoooo/breakpointR documentation built on Aug. 4, 2022, 11:21 p.m.