synchronizeReadDir: Synchronize Strand-seq read directionality

Description Usage Arguments Value Author(s) Examples

View source: R/syncReads.R

Description

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

Usage

1
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

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

breakpointR documentation built on Nov. 8, 2020, 8:04 p.m.