Description Usage Arguments Details Value
View source: R/gettstat.R View source: R/gettstat.R
Calculate the t-statistic to detect if the ratio of $mu^g_2$ and $mu^g_1$ (i.e., fold change) is within or outside a region of interest.
1 |
alpha |
shape parameters |
beta |
scale parameters |
lfc |
The log ratio with base 2 of gene expression between treatment and control group |
null.lfc |
The log ratio with base 2 of gene expression between treatment and control group under the null hypothesis |
The t-statistic adopting the proposed bayesian approach is constructed as
$t_g = barY^g - d_0 /sqrttildesigma^2_g/n_2 = sum^n_2_j=1Y^g_j/n_2 - d_0 /sqrttildesigma^2_g/n_2$,
where $d_0$ can be replaced by $d_1$ and $d_2$ to test regions with two sided boundaries.
naive |
T-statistic |
bayes |
T-statistic adopting the proposed bayesian approach |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.