makeGphmmPerRead: Create a function to compute gphmm probabilities during the...

Description Usage Arguments Examples

View source: R/trainGPHMM.R

Description

makeGphmmPerRead returns a function to compute gphmm probabilities for each row of the csv file.

Usage

1
makeGphmmPerRead(seqs, csv)

Arguments

seqs

- DNAStringSet with DNA sequences used for the training.

csv

- data.frame with first column = queries, second column = reference sequences, third column = qv

Examples

1
2
3
4
library(Biostrings)
seqs <- DNAStringSet(c(a='ATGC', b = 'ATGG', c = 'ATGT'))
csv <- data.frame(queries = c('a', 'b'), refs = c('c', 'c'))
makeGphmmPerRead(seqs, csv)

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