R/GeneDrops.R

Defines functions GeneDrops

Documented in GeneDrops

GeneDrops <-
function(ld.par="ld.par", ped="in.ped", n, complete.data=FALSE, gd.ped="gd.ped", compress.pedfiles=FALSE)
{
  # The function will create file gd.ped in the current working directory

  args<-c(ld.par,ped,n,gd.ped)
  if(complete.data) {
    args<-c(args,"-a")
  }
  if(compress.pedfiles) {
    args<-c(args,"-z")
  }

  .jcall("GeneDrops","V","main", .jarray(args))

}

Try the rJPSGCS package in your browser

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

rJPSGCS documentation built on May 1, 2019, 11:10 p.m.