predict_balk {minSNPs}R Documentation

predict_balk

Description

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

Usage

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


[Package minSNPs version 0.2.0 Index]