View source: R/overlapWidthTx.R
overlapWidthTx | R Documentation |
Evaluation function. This function returns the sum of widths of each overlap between two region sets, i.e., the total number of overlapping nucleotides between two input region sets.
overlapWidthTx(A, B, ...)
A |
Region set 1. A |
B |
Region set 2. A |
... |
Any additional parameters needed. |
A numeric
object.
overlapCountsTx
, distanceTx
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
trans.ids <- c("170", "782", "974", "1364", "1387")
A <- randomizeTx(
txdb, trans.ids, random_num = 20,
random.length = 100
)
B <- randomizeTx(
txdb, trans.ids = trans.ids, random_num = 20,
random_length = 100
)
overlapWidthTx(A, B)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.