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
)an object of class 'peakData' or 'compoundData', typically a
result of as.peakData or mapPeaksToCompounds.
column name for x-axis, must be a column of
ftmsObj$e_data or ftmsObj$e_meta
column name for y-axis, must be a column of
ftmsObj$e_data or ftmsObj$e_meta
column name for point colors, must be a column of
ftmsObj$e_data or ftmsObj$e_meta
color palette function, one of col_numeric,
col_factor or similar scales palette function
x axis label, default is xCName
y axis label, default is yCName
title for the legend, only used when coloring points according to a numeric scale
plot title
x-axis bounds
y-axis bounds
TRUE/FALSE, should the color column be log-transformed? Default is FALSE.
column name for hover (mouseover) text, must be a column of ftmsObj$e_data or ftmsObj$e_meta
TRUE/FALSE, if an axis range is not provided, should the automatic range minimum be set to 0?
plotly object
if (FALSE) { # \dontrun{
scatterPlot(exampleProcessedPeakData,
"NOSC",
"DBE",
colorCName="HtoC_ratio",
legendTitle="H:C Ratio",
title="DBE vs NOSC for exampleProcessedPeakData")
} # }