Description Usage Arguments Value Examples
A function to estitamete the power for differential expression analysis of RNA-seq data.
1 2 3 4 5 6 7 8 9 10 11 | est_power(
n,
w = 1,
rho = 2,
lambda0 = 5,
phi0 = 1,
alpha = 0.05,
f,
m = 20000,
m1 = 200
)
|
n |
Numer of samples. |
w |
Ratio of normalization factors between two groups. |
rho |
minimum fold changes for prognostic genes between two groups. |
lambda0 |
Average read counts for prognostic genes. |
phi0 |
Dispersion for prognostic genes. |
alpha |
alpha level. |
f |
FDR level |
m |
Total number of genes for testing. |
m1 |
Expected number of prognostic genes. |
Estimate power
1 2 | n<-63;rho<-2;lambda0<-5;phi0<-0.5;f<-0.01
est_power(n=n, rho=rho, lambda0=lambda0, phi0=phi0,f=f)
|
Loading required package: RnaSeqSampleSizeData
Loading required package: edgeR
Loading required package: limma
[1] 0.8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.