R/find.input.R

Defines functions find.input

Documented in find.input

find.input <- function(x){
  if (x == "bed"){
    return("inputBED")
  } else if (x == "bim"){
    return("inputBIM")
  } else if (x == "fam"){
    return("inputFAM")
  } else if (x == "tfam"){
    return("inputTFAM")
  } else if (x == "tped"){
    return("inputTPED")
  } else if (x == "map"){
    return("inputMAP")
  } else if (x == "ped"){
    return("inputPED")
  } else {
    return("Error: wrong input files")
  }
}

Try the rPlant package in your browser

Any scripts or data that you put into this service are public.

rPlant documentation built on May 2, 2019, 5:35 p.m.