calcTotalTags {CAGEfightR} | R Documentation

## Calculate the total number of CAGE tags across samples.

### Description

For each CAGE library, calculate the total number of tags.

### Usage

    calcTotalTags(object, inputAssay = "counts", outputColumn = "totalTags")

### Arguments

`object` | RangedSummarizedExperiment: CAGE data quantified at CTSS, cluster or gene-level.
`inputAssay` | character: Name of assay holding input expression values.
`outputColumn` | character: Name of column in colData to hold number of total tags.

### Value

object with total tags per library added as a column in colData.

### See Also

Other Calculation functions: `calcBidirectionality()`, `calcComposition()`, `calcPooled()`, `calcShape()`, `calcSupport()`, `calcTPM()`, `subsetByBidirectionality()`, `subsetByComposition()`, `subsetBySupport()`

### Examples

    data(exampleUnidirectional)
    calcTotalTags(exampleUnidirectional)

[Package CAGEfightR version 1.10.0 Index]