| asmir_predict | R Documentation |
Predicts whether input plant miRNA sequences are associated with cold, drought, heat, or salt stress using the bundled ASmiR models. The function generates PseKNC features and applies the relevant stress-specific model.
asmir_predict(
x,
stress = c("cold", "drought", "heat", "salt", "all"),
threshold = 0.5,
model_file = NULL,
feature_file = NULL
)
x |
Input supported by |
stress |
Stress model to use: |
threshold |
Numeric probability threshold between 0 and 1 for assigning the stress-associated class. |
model_file |
Optional path to an RDS model file, used when predicting a single stress. |
feature_file |
Optional path to a feature-ranking file, used when predicting a single stress. |
A data frame containing sequence names, stress labels, predicted stress probabilities, confidence-like probabilities, and predicted class labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.