buildZTestBackgroundModel: Build a background model for Z-test.

View source: R/buildBackgroundModel.R

buildZTestBackgroundModelR Documentation

Build a background model for Z-test.

Description

Build a background model for Z-test.

Usage

buildZTestBackgroundModel(
  dagPeptides,
  matches,
  numSubsamples = 30L,
  rand.seed = 1,
  testType = "ztest",
  replacement = FALSE
)

Arguments

dagPeptides

An object of dagPeptides-class containing peptide sequences as the input set.

matches

A character vector with the matched subsequences.

numSubsamples

An integer, the number of random sampling.

rand.seed

An integer, the seed used to perform random sampling.

replacement

A logical vector of length 1, indicating whether replacement is allowed for random sampling.

Value

An object of dagBackground-class.

Author(s)

Jianhong Ou, Haibo Liu


jianhong/dagLogo documentation built on May 8, 2024, 12:14 a.m.