Description Usage Arguments Value Author(s) Examples
A function to return the prediction error in the search space for sffs
1 | timmaSearchBinary1(profile_k, space, sens, loo = TRUE)
|
profile_k |
current selected drug-target interaction data |
space |
the search space returned by |
sens |
drug sensitivity data |
loo |
a logical value indicating whether to use the leave-one-out cross-validation in the model selection process. By default, loo = TRUE. |
the prediction error
Liye He liye.he@helsinki.fi
1 2 3 4 5 6 7 8 | data(tyner_interaction_binary)
data(tyner_sensitivity)
num<-length(tyner_sensitivity[,1])
k_set<-rep(0, dim(tyner_interaction_binary)[2])
k_set[1]<-1
space<-searchSpace(num, k_set, tyner_interaction_binary, tyner_sensitivity[,1])
profile_k<-tyner_interaction_binary[, which(k_set==1)]
error<-timmaSearchBinary1(profile_k, space, tyner_sensitivity[,1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.