Description Usage Arguments Details Value Author(s) References See Also Examples
A function to classify rna structure change from an existing classifier.
1 2 |
object |
An object of classifyRNA (see classifyRNA function). |
sample |
An optional matrix of predictors (e.g. output from getFeatures()) |
resp |
An optional string to determine type of return value. Default is "prob". |
... |
additional arguments for predict method |
This function predicts RNA structure change in SHAPE data using a random forest classifier.
A matrix of "response", "vote" or "prob" predictions.
Predicted classes (classes with majority vote)
Vote count fraction (one column for each class and one row for each input)
Class probabilities (one column for each class and one row for each input)
Chanin Tolson
A. Liaw and M. Wiener (2002). Classification and Regression by randomForest. R News 2(3), 18–22 (randomForest package)
1 2 3 4 5 6 | #input data
data("mutmap")
#build classifier
cr = classifyRNA()
#get prediction
cr_pred = predict(cr, mutmap[,2:9])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.