plotDensities
2
0
Entering edit mode
@francesco-strozzi-2738
Last seen 11.1 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20080408/ 080b09d6/attachment.pl
• 765 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 7 months ago
United States
On Tue, Apr 8, 2008 at 6:27 AM, Francesco Strozzi <francesco.strozzi at="" gmail.com=""> wrote: > Hi all, > > is there a way to pass plot parameters, such as main, title, xlim, ylim and > so on, to the plotDensities function of the Limma package? > I'm trying to pass this parameters but I always get an error: > > > plotDensities(RG,main="Raw Data") > Error in plotDensities(RG, main = "Raw Data") : > unused argument(s) (main = "Raw Data") > > plotDensities(RG,xlim=c(1,2)) > Error in plotDensities(RG, xlim = c(1, 2)) : > unused argument(s) (xlim = c(1, 2)) > > The same appens using other common plot parameters. > Any suggestion? Hi, Francesco. The help for the function is always a good place to look for this kind of thing. You can see that there are only a set number of arguments and no '...', so you will not be able to pass in other arguments. You could look at the plotDensity() function in the affy package as another alternative that does have '...', so you could pass in parameters of interest. Sean
ADD COMMENT
0
Entering edit mode
@melissa-morine-2682
Last seen 11.1 years ago
Hi Francesco, I haven't used these plots much, but I don't think there's a way to do this within the plotDensities function. An easy solution, though, is to modify it. Just open the function in the text editor and modify the internal matplot function, as well as the corresponding input variables. I tried that, and it seems to work Ok. Melissa ----- Original Message ----- From: Francesco Strozzi <francesco.strozzi@gmail.com> Date: Tuesday, April 8, 2008 11:30 am Subject: [BioC] plotDensities To: bioconductor at stat.math.ethz.ch > Hi all, > > is there a way to pass plot parameters, such as main, title, xlim, > ylim and > so on, to the plotDensities function of the Limma package? > I'm trying to pass this parameters but I always get an error: > > > plotDensities(RG,main="Raw Data") > Error in plotDensities(RG, main = "Raw Data") : > unused argument(s) (main = "Raw Data") > > plotDensities(RG,xlim=c(1,2)) > Error in plotDensities(RG, xlim = c(1, 2)) : > unused argument(s) (xlim = c(1, 2)) > > The same appens using other common plot parameters. > Any suggestion? > > Thanks > > -- > > Francesco > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT

Login before adding your answer.

Traffic: 1705 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6