moleculesGR2CTSS: moleculesGR2CTSS

View source: R/ImportMethods.R

moleculesGR2CTSSR Documentation

moleculesGR2CTSS

Description

Calculates CTSS positions from a GenomicRanges object where each element represents a single molecule.

Usage

moleculesGR2CTSS(gr)

Arguments

gr

A GRanges object.

Value

Returns a GRanges object.

See Also

Other loadFileIntoGPos: bam2CTSS(), import.CTSS(), import.bam(), import.bam.ctss(), import.bedCTSS(), import.bedScore(), import.bedmolecule(), loadFileIntoGPos()

Examples

gr <- GenomicRanges::GRanges("chr1", IRanges::IRanges(1, 10), c("+", "-", "+"))
CAGEr:::moleculesGR2CTSS(gr)

charles-plessy/CAGEr documentation built on Oct. 27, 2024, 10:11 p.m.