analytesFromFeatures: Outputs analytes below FDR

View source: R/get_analytes.R

analytesFromFeaturesR Documentation

Outputs analytes below FDR

Description

Provides all found analytes or only common analytes that have m-score less than analyteFDR.

Usage

analytesFromFeatures(features, analyteFDR = 1, commonAnalytes = TRUE)

Arguments

features

(list of data-frames) contains features and their properties identified in each run.

analyteFDR

(numeric) only analytes that have m-score less than this, will be included in the output.

commonAnalytes

(logical) TRUE: intersect across all runs, FASLE: union across all runs.

Value

a vector of integer.

Author(s)

Shubham Gupta, shubh.gupta@mail.utoronto.ca

ORCID: 0000-0003-3500-8152

License: (c) Author (2020) + GPL-3 Date: 2020-04-14

See Also

getFeatures

Examples

dataPath <- system.file("extdata", package = "DIAlignR")
fileInfo <- getRunNames(dataPath = dataPath)
features <- getFeatures(fileInfo, maxFdrQuery = 1.00, runType = "DIA_Proteomics")
## Not run: 
commonAnalytes <- analytesFromFeatures(features, analyteFDR = 0.01, commonAnalytes = TRUE)

## End(Not run)

shubham1637/DIAlignR documentation built on March 29, 2023, 8:45 p.m.