scatterPlot | R Documentation |
Scatter Plot
scatterPlot(
ftmsObj,
xCName,
yCName,
colorCName = NA,
colorPal = NA,
xlabel = xCName,
ylabel = yCName,
legendTitle = colorCName,
title = NA,
xrange = NA,
yrange = NA,
logColorCol = FALSE,
hoverTextCName = NA,
zero.min = FALSE
)
ftmsObj |
an object of class 'peakData' or 'compoundData', typically a
result of |
xCName |
column name for x-axis, must be a column of
|
yCName |
column name for y-axis, must be a column of
|
colorCName |
column name for point colors, must be a column of
|
colorPal |
color palette function, one of |
xlabel |
x axis label, default is |
ylabel |
y axis label, default is |
legendTitle |
title for the legend, only used when coloring points according to a numeric scale |
title |
plot title |
xrange |
x-axis bounds |
yrange |
y-axis bounds |
logColorCol |
TRUE/FALSE, should the color column be log-transformed? Default is FALSE. |
hoverTextCName |
column name for hover (mouseover) text, must be a column of |
zero.min |
TRUE/FALSE, if an axis range is not provided, should the automatic range minimum be set to 0? |
plotly object
## Not run:
scatterPlot(exampleProcessedPeakData,
"NOSC",
"DBE",
colorCName="HtoC_ratio",
legendTitle="H:C Ratio",
title="DBE vs NOSC for exampleProcessedPeakData")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.