Description Usage Arguments Details Value See Also
Reads in sample1
at ribosome positions for which the nascent chain is completely obscured
by the ribosome exit tunnel (typically the first 30 codons of a CDS) are assumed to represent background
binding. A background distribution is fitted to read counts within the tunnel.
1 2 3 4 5 6 7 8 | fit_background_model(
data,
sample1,
sample2,
bin,
tunnelcoords = 18:90,
use_quantile = 0.5
)
|
data |
A |
sample1 |
Name of the first sample (the numerator). If missing, the default sample1 of the data set will be used. |
sample2 |
Name of the second sample (the denominator). If missing, the default sample2 of the data set will be used. |
bin |
Binning mode ( |
tunnelcoords |
Ribosome positions in nucleotites for which it is assumed that the nascent chain is fully obscured by the exit tunnel. |
quantile |
Only genes whith |
For each gene, read counts within tunnelcoords
are summed up (separately for sample1
and
sample2
). Counts in sample1
conditioned on sample1
+ sample2
are assumed
to follow a beta-binomial distribution. Parameter estimation is performed by maximum likelihood separately
for each sample and replicate.
A serp_data
object.
get_background_model
, test_binding
, get_binding_positions
, plot_binding_positions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.