| distanceTx | R Documentation | 
Evaluation function. This function calculates the mean of the distance from each region of set RS1 to the closest region in RS2.
distanceTx(A, B, beta = 0.2, ...)
A | 
 Region set 1. A Granges or GRangesList object.  | 
B | 
 Region set 2. A Granges or GRangesList object.  | 
beta | 
 It is a user-defined argument that can filter out the corresponding percent of largest distance values. Default value is 0.2.  | 
... | 
 Any additional parameters needed.  | 
A numeric object.
overlapWidthTx, overlapCountsTx
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,
    random_num = 20,
    random_length = 100
)
distanceTx(A, B, beta = 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.