Calculate the divergent loci complexity of a CTSS dataset.
Source:R/complexity.R
calcDivergentLociComplexity.RdThis function calculates the divergent loci complexity of a given CTSS dataset.
Usage
calcDivergentLociComplexity(
object,
loci,
step = 1e+06,
CTSSunexpressed = 1,
lociunexpressed = 2,
requirebidirectional = FALSE,
minCTSSsupport = 2
)Arguments
- object
A
RangedSummarizedExperimentresulting from CAGEfightR::quantifyCTSSs().- loci
A
GRangesobject containing the tag clusters from which divergent loci should be called.- step
The step size for the subsampling.
- CTSSunexpressed
The count threshold for considering a CTSS to be unexpressed.
- lociunexpressed
The count threshold for considering a tag cluster to be unexpressed.
- requirebidirectional
Logical indicating whether to require bidirectional transcription for a divergent locus from the same sample.
- minCTSSsupport
The minimum number of samples a CTSS must be expressed in to be considered.