Description Usage Arguments Value Examples
Indentify TSS ids for given chromosome and strand
1 | identifyTSSonChromAndStrand(pos, thresh, startIdx)
|
pos |
the ordered vector of ID5 ids |
thresh |
the distance over which TSNs are clustered into TSSs |
startIdx |
the number used to start labelling the TSSs |
a vector of TSS ids
1 2 3 4 5 6 7 | pos <- c(5, 6, 6, 8, 19, 21, 21, 23, 37, 40, 51, 80, 83)
thresh <- 5
groups <- identifyTSSonChromAndStrand(pos, thresh, 1)
plot(1:length(pos), pos, col = groups, pch = 19, xlab = "index", ylab = "position")
pos <- c(1, 20, 21, 22, 23, 50)
groups <- identifyTSSonChromAndStrand(pos, thresh, 1)
plot(1:length(pos), pos, col = groups, pch = 19, xlab = "index", ylab = "position")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.