plotRatioDensity | R Documentation |
This function plots the expression of the supplied object, using ratios between a pair of selected treatments.
plotRatioDensity(se, groupings= NULL, treatment1=NULL,
treatment2=NULL, mode_mean=TRUE, LOG2=TRUE,...)
se |
A SummarizedExperiment object. |
groupings |
A grouping (annotation); groupings="annotation.ZA" |
treatment1 |
Symbol, treatment 1. |
treatment2 |
Symbol, treatment 2. |
mode_mean |
Boolean, Calculate RowMeans or RowMedians. |
LOG2 |
Boolean, Calculate LOG2. |
... |
Passthrough arguments to boxplot (additional arguments affecting the summary produced). |
This function plots expression of the supplied object using ratios of treatment1/treatment2.
Returns an invisible data frame containing the x-values and corresponding density for each applicable annotation column entry.
AJ Vaestermark, JR Walters.
The "doseR" package, 2018 (in press).
data(hmel.se)
plotRatioDensity(se, groupings='annotation.ZA', treatment1 = 'Male',
treatment2 = 'Female',lty=1,type="l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.