garfield.run("tmp", data.dir=system.file("extdata",package = "garfield"),
trait="trait",run.option = "prep", chrs = c(22),
exclude = c(895, 975, 976, 977, 978, 979, 98))
garfield.run("tmp", data.dir=system.file("extdata",package = "garfield"),
trait="", run.option = "perm", nperm = 1000,
thresh = c(0.001, 1e-04, 1e-05), pt_thresh = c(1e-04, 1e-05),
maf.bins = 2, tags.bins = 3, tss.bins = 3, prep.file = "tmp.prep",
optim_mode = TRUE, minit = 100, thresh_perm = 0.05)
garfield.plot("tmp.perm", num_perm = 1000, output_prefix = "tmp",
plot_title = "Sample run", filter = 1, tr = -log10(0.05))
#system("ls -lh tmp.*.pdf")Run the code above in your browser using DataLab