tagCountTSS {TSRchitect} | R Documentation |
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.
tagCountTSS(y, n.cores = 1, outfname = "TSS.txt", writeTable = FALSE)
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) |
a matrix [a, h] containing the number of unique TSSs (a) and their corresponding abundances (h) is returned.