Learn R Programming

gphmm (version 0.99.0)

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

Description

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

Usage

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab