plotting with log(x) values
2
0
Entering edit mode
Lana Schaffer ★ 1.3k
@lana-schaffer-1056
Last seen 10.2 years ago
Hi, I am trying to plot(matplot) values vs log2 concentrations values which I know that some of you do all the time. On the x-axis instead of the log2(x) values, I would like to replace the axis values with the original x values as boxplot does. Can someone tell me a trick so that I would be able to put these original x-values on the x-axis? Thanks, Lana [[alternative HTML version deleted]]
• 1.1k views
ADD COMMENT
0
Entering edit mode
@kasper-daniel-hansen-459
Last seen 10.2 years ago
There seems to have been a couple of questions like this in the last couple of days. Basically it depends on how exact??y you are making the plot - are you using lattice (grid) or... But a suitable answer for most basic plotting functions are something like plot(..., axes = FALSE) or perhaps plot(..., xaxt= FALSE, yaxt = FALSE) This will make a plot without axes. You can then use the axis command to add axis to the plot with a finer control, including labels. This approach also fixes the other question on using character values as labels. In your case, you might be able to just do plot(..., log = "x") (Again depending on the particular plot function you are using). But this does not allow you to choose the base of the logarithm (if that is important, which it might not be since you are annotating with the original values). Kasper On Tue, Mar 01, 2005 at 07:10:17PM -0800, Lana Schaffer wrote: > Hi, > I am trying to plot(matplot) values vs log2 concentrations values which I know that some of you > do all the time. On the x-axis instead of the log2(x) values, I would like to replace the axis values with the > original x values as boxplot does. Can someone tell me a trick so that I would be able to put > these original x-values on the x-axis? > Thanks, > Lana > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor -- Kasper Daniel Hansen, Research Assistant Department of Biostatistics, University of Copenhagen
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 3 months ago
United States
On Mar 1, 2005, at 10:10 PM, Lana Schaffer wrote: > Hi, > I am trying to plot(matplot) values vs log2 concentrations values > which I know that some of you > do all the time. On the x-axis instead of the log2(x) values, I would > like to replace the axis values with the > original x values as boxplot does. Can someone tell me a trick so > that I would be able to put > these original x-values on the x-axis? > Lana, The trick is usually to use something like: plot(x,y,axes=F) This statement will produce a plot with no axis labels. Then you are free to do with the axes what you like using the axis command (see ?axis). Sean
ADD COMMENT
0
Entering edit mode
Dear group, I am working on a file, which someone gave me as a processed data file from Affymetrix array experiment. I was not told which software they used to generate these data columns. I do not know if all of these column header are important for analysis purposes ( to be taken into BioConductor programs): Can any one help me what do these column headers mean. Column headers: My Interpretation Normalized : Expression value after normalization?? Min Normalized : ???? Max Normalized : ???? StdErr Norm : ???? StdDev Norm : ???? t-test P-value : P-value Flags [A,M,P] : A - Absent; P - Present ; M - ??? Raw : ???? Min Raw : ???? Max Raw : ???? StdErr Raw : ???? StdDev Raw : ???? Thank you
ADD REPLY

Login before adding your answer.

Traffic: 554 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