decoyScoreTable {TargetDecoy} | R Documentation

## Prepare score table for decoys

### Description

Takes an input object and returns a score table for the decoys.

### Usage

    decoyScoreTable(object, decoy, score, log10 = TRUE)

### Arguments

`object` | A `data.frame`, mzID or mzRident object.
`decoy` | `character`, name of the variable that indicates if the peptide matches to a target or to a decoy.
`score` | `numeric`, indicating the score of the peptide match, obtained by the search engine.
`log10` | `logical` to indicate if the score should be `-log10`-transformed.

### Value

A `data.frame` with a logical `"decoy"` column and numeric `"scores"`.

### Author(s)

Elke Debrie, Lieven Clement

[Package TargetDecoy version 1.0.0 Index]