disengagementScore | R Documentation |
Disengagement score is defined as
(RPFs over ORF)/(RPFs downstream to transcript end)
A pseudo-count of one is added to both the ORF and downstream sums.
disengagementScore(
grl,
RFP,
GtfOrTx,
RFP.sorted = FALSE,
weight = 1L,
overlapGrl = NULL
)
grl |
a |
RFP |
RiboSeq reads as GAlignments, GRanges or GRangesList object |
GtfOrTx |
If it is |
RFP.sorted |
logical (FALSE), an optimizer, have you ran this line:
|
weight |
a numeric/integer vector or metacolumn name. (default: 1L, no differential weighting). If weight is name of defined meta column in reads object, it gives the number of times a read was found at that position. GRanges("chr1", 1, "+", score = 5), would mean "score" column tells that this alignment region was found 5 times. if 1L it means each read is weighted equal as 1, this is what among others countOverlaps() presumes, if single number (!= 1), it repeats for all ranges, if vector with length > 1, it must be equal size of the reads object. |
overlapGrl |
an integer, (default: NULL), if defined must be countOverlaps(grl, RFP), added for speed if you already have it |
a named vector of numeric values of scores
doi: 10.1242/dev.098344
Other features:
computeFeatures()
,
computeFeaturesCage()
,
countOverlapsW()
,
distToCds()
,
distToTSS()
,
entropy()
,
floss()
,
fpkm()
,
fpkm_calc()
,
fractionLength()
,
initiationScore()
,
insideOutsideORF()
,
isInFrame()
,
isOverlapping()
,
kozakSequenceScore()
,
orfScore()
,
rankOrder()
,
ribosomeReleaseScore()
,
ribosomeStallingScore()
,
startRegion()
,
startRegionCoverage()
,
stopRegion()
,
subsetCoverage()
,
translationalEff()
ORF <- GRanges(seqnames = "1",
ranges = IRanges(start = c(1, 10, 20), end = c(5, 15, 25)),
strand = "+")
grl <- GRangesList(tx1_1 = ORF)
tx <- GRangesList(tx1 = GRanges("1", IRanges(1, 50), "+"))
RFP <- GRanges("1", IRanges(c(1,10,20,30,40), width = 3), "+")
disengagementScore(grl, RFP, tx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.