Description Usage Arguments Details Value Examples
'model_bayes()' performs an empirical Bayes fit
1 | model_bayes(.fit, .f = limma::eBayes, ...)
|
.fit |
an MArrayLM object produced by 'model_limma()' or 'make_contrasts()' |
.f |
limma::eBayes |
... |
additional arguments to .f |
Please refer to eBayes
for more information.
a 'list' ('MArrayLM') object containing the results of the fit
1 2 3 4 5 6 7 8 9 10 11 12 | counts <- readr::read_delim("data/GSE60450_Lactation-GenewiseCounts.txt", delim = "\t")
meta <- readr::read_delim("data/SampleInfo_Corrected.txt", delim = "\t") %>%
mutate(FileName = stringr::str_replace(FileName, "\\.", "-"))
id <- as.character(counts$EntrezGeneID)
check_sample_names(counts, c(1,2), meta, FileName) %>%
purrr::pluck("mod_count") %>%
filter_genes(., id, "edgeR") %>%
make_voom(., my_design) %>%
model_limma() %>%
make_contrasts(Statuspregnant, Statusvirgin) %>%
model_bayes()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.