Skip to contents

Creates a manhattan plot zoomed in to a particular region.

Usage

gg_Manhattan_Zoom(
  folder = "GWAS_Results/",
  trait = list_Traits(folder)[1],
  chrom,
  pos1,
  pos2,
  title = trait,
  markers = NULL,
  labels = markers,
  vlines = markers,
  vline.colors = "red",
  models = c("MLM", "FarmCPU", "BLINK", "MLMM", "GLM", "CMLM", "SUPER")
)

Arguments

folder

Folder containing GWAS results.

trait

The trait to read.

chrom

Chromosome to plot.

pos1

Start position on chromosome.

pos2

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.colors

colors for each vertical line.

models

Models to read.

Value

A manhattan plot.