View source: R/BP_Spectra_matplot.R
BP_Spectra_matplot | R Documentation |
BP_matplot is matplot with parameters tailored for use in InSpectoR. Called by InSpectoR. Remember that data for plotting x-axis (e.g. wavelengths) are in the first row of the matrices
BP_Spectra_matplot(x, yID, col_code, subs, xlimits, ylimits, preT = FALSE)
x |
list of matrices containing spectra. Each matrix is a different type of spectra. |
yID |
name of ASCII data files containing spectral matrices. A different line type will be use to identify data source in plots. |
col_code |
vector of color IDs. Usually, this will be a column (a factor) in the Ys_df of the data set. |
subs |
vector of row number in Y file of selected samples. |
xlimits |
vector of xmin and xmax |
ylimits |
vector of ymin and ymax |
preT |
TRUE for pretreated data. FALSE otherwise. |
A plot on the active graphic device flags : list(xdefault, ydefault) indicating caller that x and y axis limits were set to default (TRUE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.