Description Usage Arguments Details Value Examples
'model_limma()' is a wrapper function for 'lmFit'. Fits a linear model for each gene.
1 | model_limma(.data, .f = limma::lmFit, ...)
|
.f |
limma::lmFit |
... |
additional arguments to .f |
voom |
a voom object |
Please refer to lmFit
for more information.
a 'list' ('MArrayLM') object containing the results of the fit
1 2 3 4 5 6 7 8 9 10 | 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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.