R/add_genotypes.R

#' @export

add_genotypes = function(model, path, G, separator = ",",header = T){
  if(separator==','){
    JuliaCall::julia_call("add_genotypes",model,path,G,separator = JuliaCall::julia_eval("','"),header = header)
  } else if(separator == ' ') {
    JuliaCall::julia_call("add_genotypes",model,path,G,separator = JuliaCall::julia_eval("' '"),header = header)
  }
}
zhaotianjing/JWASr documentation built on May 17, 2019, 3:01 p.m.