tagCountTSS {TSRchitect} | R Documentation

## tagCountTSS

### Description

an internal function that returns a dataframe reporting the locations of unique TSSs and the corresponding tag counts. 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 dataframe reporting the locations of unique TSSs and the corresponding tag counts. The last column of the dataframe is the logical isreal, set to TRUE by default. The intent is to provide for user-provided functions that discard specific sites (by setting isreal=FALSE), e.g. sites associated with transposons not of an interest in a study.

[Package TSRchitect version 1.18.0 Index]