Description Usage Arguments Details Value
View source: R/classify_variants.R
check_descriptors
checks which variant descriptors are present in the input object variant_descriptors
and decides if these are sufficient to be used with the model provided in algorithm
.
1 | check_descriptors(variant_descriptors, algorithm)
|
variant_descriptors |
tibble containing the variants to be classified together with their values for a series of descriptors obtained by |
algorithm |
character string naming the algorithm to use to classify the variants. Can be "RF" or "XGBoost". |
check_descriptors
checks if the descriptors present in variant_descriptors
are sufficient to run the model in algorithm
on them. If variant_descriptors
object contains fewer descriptors than those included in the models and algorithm
is "XGBoost", it throws an error message warning about the impossibility of executing the classification using that algorithm, and if the classification has been called, it stops. If algorithm
equals to "RF" instead, a warning message alerts about this and the absence of performance guarantees, but the classification is executed if called.
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.