tagCountTSS {TSRchitect} | R Documentation

## tagCountTSS

### Description

an internal function that returns a matrix [a, h] where a = the number of unique TSSs and h = the # of tags observed at that position. tagCountTSS is invoked via prcTSS.

### Usage

    tagCountTSS(y, n.cores = 1, outfname = "TSS.txt", writeTable = FALSE)

### Arguments

`y` | a data frame containing the contents of a single slot of tssTagData.
`n.cores` | the number of cores to be used for this job.
`outfname` | the prefix of the file name of TSS information to be written. (character)
`writeTable` | if TRUE, the tag count information is written to a file in the workding directory (logical)

### Value

a matrix [a, h] containing the number of unique TSSs (a) and their corresponding abundances (h) is returned.

[Package TSRchitect version 1.8.9 Index]