plot.txt.2d | R Documentation |
This is a diagnostic function. It takes the original text file, as well as the detected feature table, and plots the data in the m/z - retention time plane, using a user-defined range. The entire data is too big to plot, thus the main purpose is to focus on small subregions of the data and check the peak detection results.
plot.cdf.2d(rawname, f, mzlim, timelim, lwd = 1)
rawname |
The text file name. |
f |
The output object of prof.to.feature(). |
mzlim |
The m/z range to plot. |
timelim |
The retention time range to plot. |
lwd |
Line width parameter, to be passed on to the function line(). |
The columns in the text file need to be separated by tab. The first column needs to be the retention time, the second column the m/z values, and the third column the intensity values. The first row needs to be the column labels, rather than values.
There is no return value.
Tianwei Yu <tyu8@emory.edu>
Bioinformatics. 25(15):1930-36. BMC Bioinformatics. 11:559.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.