R/create.Rdata.files.R

Defines functions create.Rdata.files

Documented in create.Rdata.files

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()
dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.