plotFeatureSetOnRawData: Layered feature set plotter.

Description Usage Arguments Details Value Examples

View source: R/plotting.R

Description

Creates a scatter plot, where the given feature set is layered on top of its raw mass spectrometry dataset. The data is distinguished from the features by colour.

Usage

1
plotFeatureSetOnRawData(rawDataFilePath, featureFilePath)

Arguments

rawDataFilePath

The location of the mzML file, as a string.

featureFilePath

The location of the featureXML file, as a string.

Details

The x-axis represents retention time (in sec) and the y-axis represents mass-to-charge (in Th).

This function may take a while to run.

Value

The overlayed feature/raw data scatter plot.

Examples

1
2
3
4
5
6
## Not run: 
plotFeatureSetOnRawData(
"inst/extdata/20190122_HeLa_QC_Slot1-47_1_3228_800-810.mzML",
"inst/extdata/featureSetA.featureXML")

## End(Not run)

ychen-uoft/msFeatureCmp documentation built on Dec. 23, 2021, 7:17 p.m.