Description Usage Arguments Value Author(s) References Examples
Discover significant genes and estimate false discovery rates using the method described in
Jun Li and Robert Tibshirani (2011).
This is the main (key) function of this package.
1 | npSeq.Main(dat, para=list())
|
dat |
a list with elements: |
para |
a list with elements (all of them are optional): |
a data frame (table) containing the following columns. Each row stands for a gene. The genes are sorted from the most significant to the most insignificant.
nc |
number of significant genes called. |
gname |
the sorted gene names. |
tt |
The statistics of the genes. |
pval |
Permutation-based p-values of the genes. |
fdr |
Estimated false discovery rate. |
log.fc |
Estimated log fold change of the genes. Only available for twoclass outcomes. |
tfdr |
True false discovery rate. Only available when dat$delta is not NULL. |
Jun Li
Jun Li and Robert Tibshirani (2011). Finding consistent patterns: a nonparametric approach for identifying differential expression in RNA-Seq data. To appear, Statistical Methods in Medical Research.
Jun Li, Daniela M. Witten, Iain Johnstone, Robert Tibshirani (2011). Normalization, testing, and false discovery rate estimation for RNA-sequencing data. To appear, Biostatistics.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## two class negative binomial-distributed data with outliers,
## 12 samples in each class
dat <- npSeq.Simu.Data(list(type='twoclass', NGENE=1000, option=4, NSAM=c(8, 8)))
np.fdr <- npSeq.Main(dat)
## 4 class Poisson-distributed data with outliers,
## 6 samples in each class
dat <- npSeq.Simu.Data(list(type='multiclass', NGENE=1000, option=3, NSAM=c(3, 3, 3, 3)))
np.fdr <- npSeq.Main(dat)
## quantitative negative binomial-distributed data with outliers,
## 24 samples totally
dat <- npSeq.Simu.Data(list(type='quant', NGENE=1000, option=4, NSAM=12))
np.fdr <- npSeq.Main(dat)
## survival negative binomial-distributed data with outliers,
## 24 samples totally
dat <- npSeq.Simu.Data(list(type='survi', NGENE=1000, option=4, NSAM=12))
np.fdr <- npSeq.Main(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.