View source: R/tr_clean_deseq2_result.R
tr_clean_deseq2_result | R Documentation |
Helper function to filter and sort results from DESeq2, to aid in identifying differentially expressed genes.
tr_clean_deseq2_result(
deseq2_result,
p_adjusted = 0.05,
fold_change = 1.5,
inform = TRUE
)
deseq2_result |
Results object for DE genes, of class |
p_adjusted |
Threshold for adjusted p-value. Defaults to 0.05. |
fold_change |
Threshold for absolute fold change. Defaults to 1.5. |
inform |
Should a message be printed with the name of the DE comparison
and number of DE genes found? Defaults to |
A data frame (tibble) of filtered DE genes; see ?DESeq2::results
for details on the output.
https://bioconductor.org/packages/DESeq2/
https://www.github.com/travis-m-blimkie/tRavis
ex_deseq_result <-
readRDS(system.file("extdata", "ex_deseq_results.rds", package = "tRavis"))
tr_clean_deseq2_result(ex_deseq_result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.