threshold: threshold

Description Usage Arguments Author(s)

View source: R/BeeMarkov.R

Description

Compute the quality for multiple set of values in vectors. Compute TRUE Positive or FALSE Negative information and FALSE Positive and TRUE Negative. All of this allow to compute sensitivoty and specificity of every model.

Compute the quality of the model and return a TRUE Positive or FALSE Negative information. It test the positive and negative model and assign every sequence of the fasta file to one model or the other. Therefore, the file must countain sequences which are know to be from one model.

Usage

1
2
threshold(pos_test, neg_test, pos_training, neg_training,
  pos_seq = c(1:2), neg_seq = c(1:2), n_train = 1, n_seq = 1)

Arguments

pos_test

a file (fasta) to read and use to test positive model

neg_test

a file (fasta) to read and use to test negative model

pos_training

a file (fasta) to read and train the positive model

neg_training

a file (fasta) to read and train the negative model

pos_seq

a vector for lengths of words for the model. Equal to the "order of the model + 1"

neg_seq

a vector fof lengths of words for the model. Equal to the "order of the model + 1"

n_train

number of sequences to train with

n_seq

number of sequences to analyse

Author(s)

Jaunatre Maxime <maxime.jaunatre@etu.univ-grenoble-alpes.fr>


gowachin/BeeMarkov documentation built on Dec. 1, 2019, 2:57 a.m.