pkgdown/header.html

Skip to contents

Calculate the cumulative fraction of CTSSs around loci, considering unique tags and the fraction of loci with CTSSs.

Usage

cumulativeFractionsAroundLoci(
  loci,
  ctss,
  max_dist = 1000,
  inputAssay = "counts"
)

Arguments

loci

A GRanges object of loci to focus on.

ctss

A RangedSummarizedExperiment object containing the CTSSs.

max_dist

The number of base pairs to consider around each locus.

inputAssay

The assay in the ctss object to use for counting tags (default is "counts").

Value

A list of three data frames: cumulative fraction of tags, cumulative fraction of unique tags, and cumulative fraction of loci with CTSSs, for each sample.