Description Usage Arguments Details Examples
View source: R/deseq_contrasts.R
You could just call DESeq() in your code... or you could call this nifty function, which also saves the output to a table AND an R variable for later use
1 2 | deseq_contrasts(dds, myAlpha, myContrast, nickname, currDate, expName,
genesOfInterest)
|
dds |
DESeq object |
myAlpha |
number - threshold for calling genes significant |
myContrast |
c('Factor To Study in Contrast', 'Level1', 'Level2') |
nickname |
Character string - what do you want these results to be called |
currDate |
Character string - code representing date on which you did this analysis |
expName |
Character string - code representing this whole set of analyses |
genesOfInterest |
Dataframe column listing genes you might want to count in plot, e.g. sex marker genes |
Returns DESeq results object.
1 | results_SexEffect_mainEffect <- deseq_contrasts(dds_sva, 0.05, c("Sex", "F", "M"), 'results_SexEffect_mainEffect', '20180814', 'exploreNewData', amySexGenes[,2])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.