create.Rdata.files = function(prob.files, cross = "DO") {
for(i in 1:length(prob.files)) {
print(prob.files[i])
prsmth = read.delim(prob.files[i])
prsmth = exp(as.matrix(prsmth))
class(prsmth) = c("genoprobs", class(prsmth))
attr(prsmth, "cross") = cross
save(prsmth, file = sub("txt", "Rdata", prob.files[i]))
} # for(i)
} # create.Rdata.files()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.