Description Usage Arguments Details Value Author(s)
View source: R/densityplot_all.R
This function makes density plots from the object ds generated by aroma.affymetrix
1 |
ds |
Object obtained with aroma.affymetrix and the function AffymetrixCelSet in the aroma.affymetrix package. |
labels |
Optional. Vector with sample names. Samples are in the same order as in the ds object. Default get sample names from the ds object. |
picname |
Name of output files. |
groupn |
Optional. Number of samples to include in each density plot. If the number is lower than total number of samples, more than one plot is going to be shown. Default is groupn = all samples. |
all |
Optional. If TRUE, an additional plot with all density plots made with a groupn is made. |
resDir |
Output directory. Default is resultsDir. |
This function outputs density plots from a ds object obtained with aroma.affymetrix and the function AffymetrixCelSet. Plots are made using the log2 transformation of the intensity signal. If a large amount of samples is contained in the ds object, it could be dificult to distinguish one from another. Using the additional parameter groupn, a lower number of samples can be defined to be ploted. For example if there are 24 samples in the ds object, seting groupn=12, two plots of 12 samples each will be made. If all=TRUE, all plots generated by the function will be shown in the same plot.
Output is a .png file with the index of the arrays in the title in resDir.
Magdalena Arnal Segura <marnal@imim.es>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.