compareFeatures: Feature set comparator.

Description Usage Arguments Details Value Examples

View source: R/comparator.R

Description

Compares two sets of mass spectrometry features corresponding to a single MS run. This can be used to compare the results of different feature finding algorithms that have been run on the same raw dataset.

Usage

1
compareFeatures(rawDataFilePath, featureFilePath1, featureFilePath2)

Arguments

rawDataFilePath

The location of the mzML raw data file, as a string.

featureFilePath1

The location of the first featureXML file, as a string.

featureFilePath2

The location of the second featureXML file, as a string.

Details

A short summary, including the number of features that were found to be common to both sets of features, as well as statistical values such as recall, precision, and F_1 score, will be printed to the terminal.

This function may take a while to run.

Value

Nothing. A basic analysis is printed to the screen instead.

Examples

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

## End(Not run)

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