Skip to contents

Creates a manhattan plot zoomed in to a particular region. Note: this function is meant for the old version of GAPIT.

Usage

old_gg_Manhattan_Zoom(
  folder,
  trait,
  chr,
  start,
  end,
  title = trait,
  markers = NULL,
  labels = markers,
  vlines = markers,
  vline.color = "red",
  models = c("GLM", "MLM", "CMLM", "MLMM", "SUPER", "FarmCPU", "Blink"),
  colors = c("darkgreen", "darkgoldenrod3", "darkgreen", "darkgoldenrod3", "darkgreen",
    "darkgoldenrod3", "darkgreen")
)

Arguments

folder

Folder containing GWAS results.

trait

The trait to read.

chr

Chromosome to plot.

start

Start position on chromosome.

end

End position on chromosome.

title

A title for the plot.

markers

Markers to be labelled.

labels

Labels to be used for markers.

vlines

Markers which will be used as a location for a vertical lines.

vline.color

color for each vertical line.

models

Models to read.

colors

Colors for each chromosome

Value

A manhattan plot.