predict_balk: 'predict_balk'

View source: R/balk_helper.r

predict_balkR 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


ludwigHoon/minSNPs documentation built on March 25, 2024, 11:54 a.m.