Description Usage Arguments Value Examples

Error rates are "inflated" by the specified factor, while appropriately saturating so that rates cannot exceed 1. The formula is: new_err_rate <- err_rate * inflate / (1 + (inflate-1) * err_rate)

1 | ```
inflateErr(err, inflation, inflateSelfTransitions = FALSE)
``` |

`err` |
(Required). A numeric matrix of transition rates (16 rows, named "A2A", "A2C", ...). |

`inflation` |
(Required). The fold-factor by which to inflate the transition rates. |

`inflateSelfTransitions` |
(Optional). Default FALSE. If True, self-transitions (eg. A->A) are also inflated. |

An error rate matrix of the same dimensions as the input error rate matrix.

1 2 | ```
tperr2 <- inflateErr(tperr1, 2)
tperr3.all <- inflateErr(tperr1, 3, inflateSelfTransitions=TRUE)
``` |

Bioconductor-mirror/dada2 documentation built on June 1, 2017, 7:31 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.