countFragmentOverlapsSecondCutter: Count fragment overlaps when sequencing was performed from...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/reference_fragments.R

Description

countFragmentOverlapsSecondCutter counts the number of reads mapping to each cutting site of the second cutter and then summarizes them over the fragment ends of the first cutter stored in rowRanges of the FourC object.

Usage

1
2
3
4
5
6
countFragmentOverlapsSecondCutter(
  object,
  extend = TRUE,
  minMapq = 0,
  shift = 0
)

Arguments

object

A FourC object.

extend

Defines whether the read start should be extended by the length of the second cutter recognition sequence to overlap the cutting sites which is required for counting. If the cutting site has been trimmed with the primer sequence this has to be set to TRUE. Default is TRUE.

minMapq

Minimum mapping quality required for counting the read. Default is 0. If set to negative values the filtering step is skipped.

shift

Maximum difference in starts or ends between read and fragment positions. Default is 0.

Value

Updated FourC object that contains two new assays countsLeftFragmentEnd and countsRightFragmentEnd with the count values at the respective fragment end.

Author(s)

Felix A. Klein, felix.klein@embl.de

See Also

FourC, findViewpointFragments, countFragmentOverlaps

Examples

1
2
## not run:
## countFragmentOverlapsSecondCutter(fc, extend=TRUE, minMapq=30)

FourCSeq documentation built on Nov. 8, 2020, 7:08 p.m.