keptReadFragment: calculate the read fragments to be kept

Description Usage Arguments Value

View source: R/keptReadFragment.R

Description

calculate the keeping probability of each read fragment based on the keeping probability of the windows containing it. Then get the list of read fragments to be kept.

Usage

1
keptReadFragment(fragments, keptProbaW)

Arguments

fragments

an IRange object defind the starting, ending position of each fragment

keptProbaW

an Rle object define the kept probability of each sliding window

Value

an integer vector of read fragment indices to be kept


strandCheckR documentation built on Nov. 8, 2020, 7:02 p.m.