predict_balk is a function that predicts the class of new data using a binomial naive bayes classifier

predict_balk(object, newdata = NULL, snp_id = NULL, type = "prob")

Arguments

object

The classifier object

newdata

A list of sequences

snp_id

A vector of SNP IDs

type

The type of prediction, either "prob" or "class"

Value

A vector of either the class or the probability of the class