xcms
xcms copied to clipboard
how to change tick mark size of y axis on plotChromPeakImage()?
There are eight files with a long file name each. The file names were cut off on y axis. How could I change the font size and see the whole file names?
You can customize the size of the plot margins of an R plot (i.e. the area outside of the actual plot where the axes labels are) with the "mar" parameter of the par function. That way you could increase the size of the left margin and then call the plotChromPeakImage function:
par(mar = c(4, 10, 1, 1))
plotChromPeakImage(...
The mar parameter takes a numeric of length 4, the first element is the lower margin, the second the left, the 3rd the upper and the fourth the right margin.