Description Usage Arguments Details Value Examples
View source: R/DE_timepoints.R
Creates barplot of results of per-timepoint comparison
1 2 3 4 5 6 7 8 9 10 |
de_results |
results from |
type |
type of p-value to count ("qval" or "pval") |
labels |
labels to give each bar |
threshold |
cutoff for counting gene as DE |
xlab |
x-axis label |
ylab |
y-axis label |
main |
title of plot |
... |
arguments passed to |
create_timepoints_contrasts
creates the needed contrasts for
comparing two groups for every timepoint in the format needed for
DE_timepoints
(i.e. makeContrasts
, to which the
contrasts are ultimately passed). The time points are determined by the
meta data in the moanin_object
provided by the user.
This is a plotting function, and returns (invisibly) the results of
barplot
1 2 3 4 5 6 | data(exampleData)
moanin <- create_moanin_model(data=testData, meta=testMeta)
contrasts <- create_timepoints_contrasts(moanin, "C", "K")
deTimepoints <- DE_timepoints(moanin,
contrasts=contrasts, use_voom_weights=FALSE)
perWeek_barplot(deTimepoints)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.