plot_fup_uc: Plot Mass Spectrometry Responses for Fraction Unbound in Plasma Data from
Ultracentrifugation (UC)
Description
This function generates a scatter plot of mass spectrometry (MS) responses
for one chemical collected from measurement of fraction unbound in plasma (Fup)
using ultracentrifugation (UC). The scatter plot displays the MS
responses (y-axis) by sample types (x-axis). Responses from different
measurements/calibrations are labeled with different shapes and colors.
A figure of mass spectrometry responses for
various sample types.
Arguments
level2
(Data Frame) A data.frame containing level-2 data for fraction
unbound in plasma (Fup) measured by ultracentrifugation (UC).
dtxsid
(Character) EPA's DSSTox Structure ID for the chemical to be plotted.
compare
(Character) A string indicating the plot is for
comparing the responses across sample types ("type") or across calibrations ("cal").
(Defaults to "type".)
good.col
(Character) Column name containg verification information,
data rows valid for plotting are indicated with a "Y". (Defaults to "Verified".)
color.palette
(Character) A character string indicating which
viridis R package color map option to use. (Defaults to "viridis".)
Author
John Wambaugh
Details
This function requires "level-2" data for plotting. Level-2 data is level-1,
data formatted with the format_fup_uc function, and curated
with a verification column. "Y" in the verification column indicates the
data row is valid for plotting.