# \donttest{
# Yeast prediction of 177 FunCat classes by 5-fold cross validation
# using 3 steps of Random walk and STRING data.
# data obtained from the bionetdata package from CRAN
# See the AUC and Precision/recall results in the Results directory
library(bionetdata);
dd=tempdir();
rr=tempdir();
data(Yeast.STRING.data);
data(Yeast.STRING.FunCat);
save(Yeast.STRING.data, file=paste(dd,"/net.rda", sep=""));
save(Yeast.STRING.FunCat, file=paste(dd,"/labels.rda", sep=""));
do.RW(tmax = 3, filter = FALSE, seed = 1, data.dir=dd, labels.dir=dd,
output.dir=rr, data="/net", labels="/labels");
# }
Run the code above in your browser using DataLab