sequencing_error.Rd 740 Bytes
 Eric Coissac committed Oct 19, 2018 1 2 3 4 5 6 7 8 % Generated by roxygen2: do not edit by hand % Please edit documentation in R/simulate.R \name{sequencing_error} \alias{sequencing_error} \title{Generate substitution sequencing error.} \usage{ sequencing_error(nuc, error) }  Eric Coissac committed Oct 19, 2018 9 10 11 12 13 14 15 \arguments{ \item{nuc}{character; a vector of nucleotide to be modified according to a error matrix.} \item{error}{numeric 4 x 4 matrix; the error matrix as produced by the \code{\link{error_jc}} function.} }  Eric Coissac committed Oct 19, 2018 16 \description{  Eric Coissac committed Oct 19, 2018 17 18 19 20 21 22 23 24 25 26 27 28 29 Simulate substitution sequencing error on a set of nucleotides following substitution rates stored in an error matrix. } \examples{ sequencing_error(c("A","A","C","T","T","G"), error_jc(0.2)) } \seealso{ \code{\link{error_jc}} } \author{ Eric Coissac  Eric Coissac committed Oct 19, 2018 30 }