Description Usage Arguments Details Examples
View source: R/add_lfcShrink.R
Takes in DESeq results object and turns it into a nice data frame, complete with column for shrunken lfcs.
1 | add_lfcShrink(myResults, dds, myContrast)
|
myResults |
DESeq results object |
dds |
DESeq Object |
myContrast |
coefficient or contrast that you used to |
Returns data frame with DESeq results entries for each gene (significant and non-), with separate shrunken lfc column.
Generated in a rage when I got frustrated with trying to pass multiple objects in a list out of an R function. One day, this may get folded into deseq_coef or deseq_contrasts.
1 | results_sex_df <- add_lfcShrink(results_sex, dds_sva, c('Sex', 'M', 'F'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.