View source: R/calc_mod_ttest.R
calc_mod_ttest | R Documentation |
Use one-sample moderated t-test implemented in limma package to calculate protein logFC, pvalue, and FDR.
See ?limma::lmFit
and ?limma::eBayes
for more details.
calc_mod_ttest(df, iter = 2000, order = T)
df |
data.frame containing gene and rep[0-9] (replicate logFC) columns. |
iter |
integer indicating maximum number of iterations to perform in limma::limFit(). |
order |
boolean. Should the result be ordered by logFC and FDR? |
data.frame containing input df + logFC, pvalue, and FDR columns; sorted by decreasing logFC, then FDR.
## Not run: data("example_data") stats_df <- calc_mod_ttest(example_data) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.