# NOT RUN {
path<-tempdir()
dir.create(path) # create temporal directory
data(ann.data) # load genome annotation data frame
annotation<-annotate_probes(source = "data.frame", ann.data = ann.data,
probe.id.var = 1:5,
probe.start.var = c (1, 100, 200, 300, 400),
probe.stop.var = c (99, 199, 299, 399, 499),
file.annot = paste0(path, "/annotation.txt"), save.format = "txt",
return = "resume")
file.remove(paste0(path, "/annotation.txt")) # delete files
unlink(path, recursive = TRUE)
# }
Run the code above in your browser using DataLab