tx_sample_GRList: Sampling alignments

View source: R/tx_core.R

tx_sample_GRListR Documentation

Sampling alignments

Description

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.


AngelCampos/txtools documentation built on April 8, 2024, 6:06 p.m.