perform_NBC | R Documentation |
Use trained model to predict on data
perform_NBC(model, asv_table, sample_data, prob_class1)
model |
(object) direct output from train_NBC |
asv_table |
(double) rows= ASV names, cols=sample names |
sample_data |
(character matrix) column 1 = sample names; column 2 = class labels (e.g. "asthmatic" and "healthy") |
prob_class1 |
(integer) number samples of test class 1 (class 1 is alphabetically first, class 2 is next) / total number samples see "sample_classes" from train_NBC to check order |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.