moleculesGR2CTSS {CAGEr} | R 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.ctss`, `import.bam`, `import.bedCTSS`, `import.bedScore`, `import.bedmolecule`, `loadFileIntoGPos`

### Examples

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

[Package CAGEr version 1.34.0 Index]