analytesFromFeatures: Outputs analytes below FDR

Description Usage Arguments Value Author(s) See Also Examples

View source: R/get_analytes.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
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)

Roestlab/DIAlign documentation built on Feb. 25, 2021, 5:18 p.m.