View source: R/GenerateSignalSummary.R
ct.contrastBarchart | R Documentation |
Given a list of provided results 'data.frame's summarizing a series of contrasts from one or more pooled screens, this function visualizes their respective signals as a series of stacked barcharts. Enriched signals are represented in the positive direction, and depleted signals are represented in the negative direction. Note that the provided contrast results are not regularized by this function.
This function may be used to compare signals across different screen contrasts, or to compare signals within interesting subsets of targets ascertained within a single experiment.
ct.contrastBarchart( dflist, background = TRUE, statistic = c("best.q", "best.p"), ... )
dflist |
A named list of 'data.frame's summarizing the results of one or more screen contrasts, returned by the function
|
background |
Logical indicating whether to represent the nonsignificant hits in the barchart. |
statistic |
Should cutoffs be calculated based on FDR ('best.q') or P-value ('best.p')? |
... |
Other parameters to lower functions, especially 'ct.simpleResult()' |
A summary plot on the current device. Invisibly, the data.frame tallying signals at various thresholds.
Russell Bainer
data('resultsDF') ct.contrastBarchart(list('FirstResult' = resultsDF, 'SecondResult' = resultsDF)) ct.contrastBarchart(list('FirstResult' = resultsDF, 'SecondResult' = resultsDF), background = FALSE) ct.contrastBarchart(list('FirstResult' = resultsDF[1:1000,], 'SecondResult' = resultsDF))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.