Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/plotfunctions.R
If you order genes by their iGSDB, and hybridizations by slide bias, the graphs of each gene should form a 'fan' out of the origin (see also dyebias.trendplot). This function plots the regression slope of each gene, ordered by iGSDB and slide bias. If the uncorrected total dye bias is indeed monotonous, an increasing trend should be visible.
This function has been depracated, as it is of limited use and takes too long to compute.
1 2 3 4 5 6 7 8 9 10 |
data |
The |
iGSDBs |
A data frame with intrinsic gene-specific dye biases,
the same as that used in |
dyebias.percentile |
The percentile of intrinsic gene specific dye biases (iGSDBs) for which to highlight the reporters. Default should suffice in almost all cases. |
order |
If |
output |
Specifies the output. If |
pch, cex, cex.lab, ylim, xlab, ylab |
As for |
sub |
The subtitle. If |
... |
Other arguments are passed on to |
The total dye bias appears to be the product of iGSDB and slide bias. In other words, it is monotonous (always increasing or always decreasing), both with respect to the intrinsic gene specific dye bias and with respect to the slide bias. This function orders genes by their iGSDB and the slides by slide bias. Subsequently a linear regression of each gene is done, with x being the slide bias rank (not the slide bias itself), and y being the M. The slopes of each linear regression line should be an increasing array of values, representing the 'fan' of lines. The array of slopes is plotted (versus the rank). Generally, a clear trend is visible for uncorrected hybridizations, and the trend has disappeared after dye bias correction.
The order of the slide bias is returned, for use in plotting the behaviour of the regression slopes in the corrected data set.
This function takes very long to compute, since it calculates regressions for each gene.
Philip Lijnzaad p.lijnzaad@umcutrecht.nl
Margaritis, T., Lijnzaad, P., van Leenen, D., Bouwmeester, D., Kemmeren, P., van Hooff, S.R and Holstege, F.C.P. (2009). Adaptable gene-specific dye bias correction for two-channel DNA microarrays. Molecular Systems Biology, 5:266, 2009. doi: 10.1038/msb.2009.21.
dyebias.monotonicity
,
dyebias.trendplot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | ## Not run:
options(stringsAsFactors = FALSE)
library(dyebias)
library(dyebiasexamples)
data(data.raw)
data(data.norm)
### obtain estimate for the iGSDBs:
iGSDBs.estimated <- dyebias.estimate.iGSDBs(data.norm,
is.balanced=TRUE,
verbose=FALSE)
### choose the estimators and which spots to correct:
estimator.subset <- dyebias.umcu.proper.estimators(maInfo(maGnames(data.norm)))
application.subset <- maW(data.norm) == 1 &
dyebias.application.subset(data.raw=data.raw, use.background=TRUE)
### do the correction:
correction <- dyebias.apply.correction(data.norm=data.norm,
iGSDBs = iGSDBs.estimated,
estimator.subset=estimator.subset,
application.subset = application.subset,
verbose=FALSE)
layout(matrix(1:2, nrow=1,ncol=2))
order <- dyebias.monotonicityplot(data=data.norm,
iGSDBs=iGSDBs.estimated, # from e.g. dyebias.estimate.iGSDBs
order=NULL, # i.e., order by increasing slide bias
output=NULL,
main="before correction"
)
order <- dyebias.monotonicityplot(data=correction$data.corrected,
iGSDBs=iGSDBs.estimated,
order=order, # order by the original slide bias
output=NULL,
main="after correction"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.