script1: Extract features and generate pairwise alignments.

Description Usage Arguments Author(s) See Also Examples

View source: R/scripts.R

Description

Extract features and generate pairwise alignments.

Usage

1
2
3
4
5
6
7
8
script1(
  dataPath,
  outFile = "DIAlignR",
  params = paramsDIAlignR(),
  oswMerged = TRUE,
  runs = NULL,
  applyFun = lapply
)

Arguments

dataPath

(string) path to xics and osw directory.

outFile

(string) name of the output file.

params

(list) parameters are entered as list. Output of the paramsDIAlignR function.

oswMerged

(logical) TRUE for experiment-wide FDR and FALSE for run-specific FDR by pyprophet.

runs

(a vector of string) names of xics file without extension.

applyFun

(function) value must be either lapply or BiocParallel::bplapply.

Author(s)

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

ORCID: 0000-0003-3500-8152

License: (c) Author (2021) + GPL-3 Date: 2021-02-20

See Also

alignTargetedRuns

Examples

1
2
3
4
5
6
params <- paramsDIAlignR()
params[["context"]] <- "experiment-wide"
dataPath <- system.file("extdata", package = "DIAlignR")
BiocParallel::register(BiocParallel::MulticoreParam(workers = 4, progressbar = TRUE))
script1(dataPath, outFile = "testDIAlignR", params = params, applyFun = BiocParallel::bplapply)
file.remove(file.path(dataPath, "testDIAlignR_script1.RData"))

Roestlab/DIAlignR documentation built on March 3, 2021, 9:09 a.m.