Usage
dba.plotBox(DBA, contrast=1, method=DBA$config$AnalysisMethod, th=DBA$config$th, bUsePval=DBA$config$bUsePval, bNormalized=TRUE, attribute=DBA_GROUP, bAll=FALSE, bAllIncreased=FALSE, bAllDecreased=FALSE, bDB=TRUE, bDBIncreased=TRUE, bDBDecreased=TRUE, pvalMethod=wilcox.test, bReversePos=FALSE, attribOrder, vColors, varwidth=TRUE, notch=TRUE, ...)
Arguments
contrast
number of contrast to use for boxplot.
method
method used for analysis (used in conjunction with contrast):
th
significance threshold; all sites with FDR (or p-values, see bUsePval) less than or equal to this value will be included in the boxplot.
bUsePval
logical indicating whether to use FDR (FALSE) or p-value (TRUE) for thresholding.
bNormalized
logical indicating that normalized data (using normalization factors computed by differential analysis method) should be plotted. FALSE uses raw count data.
attribute
attribute to use for determining groups of samples. Default (DBA_GROUP) plots the two groups used in the contrast. Possible values:
bAll
logical indicating if plot should include a set of boxplots using all counts, regardless of whether or not they pass the significance threshold.
bAllIncreased
logical indicating if plot should include a set of boxplots using all counts that increase in affinity, regardless of whether or not they pass the significance threshold.
bAllDecreased
logical indicating if plot should include a set of boxplots using all counts that decrease in affinity, regardless of whether or not they pass the significance threshold.
bDB
logical indicating if plot should include a set of boxplots using all counts in significantly differentially bound sites (i.e. those that pass the significance threshold),
regardless of whether they increase or decrease in affinity.
bDBIncreased
logical indicating if plot should include a set of boxplots using all counts in significantly differentially bound sites that increase in affinity.
bDBDecreased
logical indicating if plot should include a set of boxplots using all counts in significantly differentially bound sites that decrease in affinity.
pvalMethod
method to use when computing matrix of p-values. If NULL, no matrix is computed, and NULL is returned; this may speed up processing if there are many boxplots.
bReversePos
logical indicating if the default definition of positive affinity (higher affinity in the second group of the contrast) should be reversed
(i.e. positive affinity is defined as being higher in the first group of the contrast).
attribOrder
vector of group numbers used to change the order that groups are plotted.
If NULL, default order is used (group order for DBA_GROUP, and the order the attribute values appear for other values of attribute).
vColors
vector of custom colors; if absent, default colors will be used.
varwidth
passed to boxplot
...
other arguments passed to boxplot