BP_Spectra_matplot: BP_Spectra_matplot

View source: R/BP_Spectra_matplot.R

BP_Spectra_matplotR Documentation

BP_Spectra_matplot

Description

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

Usage

BP_Spectra_matplot(x, yID, col_code, subs, xlimits, ylimits, preT = FALSE)

Arguments

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.

Value

A plot on the active graphic device flags : list(xdefault, ydefault) indicating caller that x and y axis limits were set to default (TRUE).


PannetonB/inspectrar documentation built on Feb. 4, 2023, 1:57 p.m.