saxeyPlot: Create a 2D correlation histogram

View source: R/rapt_multi.R

saxeyPlotR Documentation

Create a 2D correlation histogram

Description

saxeyPlot creates a 2D correlation histogram of mass spectra using the index of the first hit of an ATO data frame. The optional plot also shows the corresponding mass spectrum on each axis for easier identification of high intensity areas of the histogram.

Usage

saxeyPlot(ind, ato, begin, end, res = 0.25, plot.it = T)

Arguments

ind

A vector of first hit indices for double hits. The list generated by indexMultiples has this vector as its second entry.

ato

An ATO data frame. This data frame is generated by readATO.

begin

A numeric. The starting mass value of the correlation histogram.

end

A numeric. The ending mass value of the correlation histogram.

res

A numeric. The bin width of the correlation histogram.

plot.it

A logical scalar. Should the result be plotted?

Value

The output is the same as that of ash2.

References

Saxey, D. W. (2011). Correlated ion analysis and the interpretation of atom probe mass spectra. Ultramicroscopy, 111(6), 473-479. https://doi.org/10.1016/j.ultramic.2010.11.021.

See Also

indexMultiples, ash2


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.