buildZTestBackgroundModel {dagLogo} | R 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

[Package dagLogo version 1.30.0 Index]