View source: R/shiftedZScoreTx.R
shiftedZScoreTx | R Documentation |
Calculate shifted z scores for permutation test results. It provides mode of shifting regions of interest over mRNA space.
shiftedZScoreTx(permTestTx_results = NULL, txdb = NULL, type = "normal",
window = 200, step = 20, ev_function_1 = overlapCountsTx, ...)
permTestTx_results |
A |
txdb |
A TxDb object. |
type |
If type is "mature", regions of interest will be shifted over the mature mRNA space according to the input txdb object. Otherwise ROS will be shifted over genomic space. |
window |
The window of the whole shifting. |
step |
The step of each shifting. |
ev_function_1 |
Evaluation function. Default is |
... |
Any additional parameters needed. |
see examples in plotShiftedZScoreTx
A list object, which is defined to be shiftedZScoreTx.results
class. It contains the following items:
shifted.z.scores:
Standard z-scores after shifting.
window:
Window of the whole shifting.
step:
Step of each shifting.
original.z.score:
Original standard score.
plotShiftedZScoreTx
library(TxDb.Hsapiens.UCSC.hg19.knownGene)
txdb = TxDb.Hsapiens.UCSC.hg19.knownGene
file <- system.file(package="RgnTX", "extdata", "m6A_sites_data.rds")
m6A_sites_data <- readRDS(file)
RS1 <- m6A_sites_data[1:100]
txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene
permTestTx_results <- permTestTxIA_customPick(RS1 = RS1,
txdb = txdb,
type = "mature",
customPick_function = getStopCodon,
ntimes = 1)
shiftedZScoreTx_results <- shiftedZScoreTx(permTestTx_results,txdb,
type = 'mature',
window = 500,
step = 50,
ev_function_1 = overlapCountsTxIA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.