plot_fup_uc | R Documentation |
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.
plot_fup_uc(
level2,
dtxsid,
compare = "type",
good.col = "Verified",
color.palette = "viridis"
)
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
|
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.
ggplot2 |
A figure of mass spectrometry responses for various sample types. |
John Wambaugh
## Load example level-2 data
level2 <- invitroTKstats::fup_uc_L2
plot_fup_uc(level2, dtxsid = "DTXSID0059829")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.