Skip to contents

Sampling of alignmnets in a GRanges list using a binomial distribution.

Usage

tx_sample_GRList(x, p, nCores = 1)

Arguments

x

CompressedGRangesList. A list containing alignments, meant to be used for the output of the tx_reads function.

p

Probabilty for each read to be sampled.

nCores

integer. Number of cores to run the function with. Multicore capability not available in Windows OS.

Value

CompressedGRangesList.