View source: R/classification_voting.R
vote_categories_classes | R Documentation |
Given a data.frame of categories, classes, and EMFs, does voting by the EMF first on the Categories, and then trims to those Classes that are part of the original Category, and does voting on the remaining Classes.
vote_categories_classes(
categories_classes,
emfs = "emf",
categories = "Categories",
classes = "Classes",
return_opts = "max",
vote_threshold = 2/3 * 100,
exclude_votes = c("not_lipid", "unclassifiable", as.character(NA),
"not_lipid or not_classified"),
debug = FALSE
)
categories_classes |
data.frame of information |
emfs |
which column is EMFs |
categories |
which column is categories |
classes |
which column has classes |
return_opts |
what to return ('max', 'all', 'single', 'multiple') |
vote_threshold |
what is the vote threshold for 'single'? |
exclude_votes |
which categories should be excluded? |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.