Description Usage Arguments Value Author(s) See Also Examples
Golden standard data sets is given by user, the trained SVM classifier will be returned
1 | SVMTrain(input, replaceNA = 0)
|
input |
Gold-standard data sets, including positive and negative samples |
replaceNA |
The value to replace NA in training set |
The trained SVM classifier
Yue Deng <anfdeng@163.com>
1 2 3 4 5 6 7 8 9 | #edges <- data.frame(node1=c("1132", "1133", "1134", "1134", "1145", "1147"),
# node2=c("1134", "1134", "1145", "1147", "1147", "1149"),
# label=c(1, 1, 1, 0, 0, 0))
#graph<-graph.data.frame(edges,directed=FALSE)
#samplefile <- "ppiPre-ComputeAllEvidences-sample.csv"
#write.csv(edges,file=samplefile,row.names=FALSE)
#ComputeAllEvidences(input=samplefile,output="AllEvidences-svmtrainsample.csv",organism="human",
# drop ="IEA", header=TRUE, sep=",")
#SVMTrain("AllEvidences-svmtrainsample.csv", replaceNA=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.