Description Usage Arguments Value Examples
Calculate the peak score based on the distance to a region of interest.
1 | score_peaks(distance, base)
|
distance |
A vector of integers |
base |
An integer to calculate distances relative to. |
A vector of integers
1 2 3 4 5 6 | library(IRanges)
query <- IRanges(c(1, 4, 9), c(5, 7, 10))
subject <- IRanges(c(2, 2, 10), c(2, 3, 12))
distance <- find_distance(query, subject)
score_peaks(distance, 100000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.