generateRead: Generate a noisy read from a true sequence.

Description Usage Arguments Examples

View source: R/generateData.R

Description

generateRead returns a list with the noisy read, the true sequence, the path, and the phred quality score.

Usage

1
2
generateRead(seq = "ATGCGGATCG", qv = NULL, seed = NULL,
  paramgphmm = initializeGphmm())

Arguments

seq

- character vector of true sequence.

qv

- integer, wanted phred quality score for the read.

seed

- integer, seed for reproducibility.

paramgphmm

- list of parameters.

Examples

1
2
generateRead('ACGTGCA')
generateRead('ACGTGCA', qv = 10, seed = 1416)

gphmm documentation built on Oct. 2, 2017, 5:03 p.m.