tagCountTSS: tagCountTSS

Description Usage Arguments Value

View source: R/clustering-functions.R

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

1
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.


BrendelGroup/TSRchitect documentation built on March 3, 2021, 1:45 a.m.