# Calculate a peak cutoff

### Description

Calculates a peak cutoff value given an FDR, assuming a Poisson noise distribution estimated from the frequency of singleton and doubleton islands.

### Usage

1 | ```
peakCutoff(cov, fdr.cutoff = 0.001, k = 2:20)
``` |

### Arguments

`cov` |
The coverage object, e.g.,
an |

`fdr.cutoff` |
The maximum-allowed FDR for calculating the cutoff. |

`k` |
The coverage levels at which to estimate an FDR value. The maximal
value that is less than |

### Value

A numeric value to use for calling peaks

### Author(s)

D. Sarkar and M. Lawrence

### See Also

`islandDepthPlot`

for the graphical equivalent; the
vignette for a bit more explanation.

### Examples

1 2 3 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.