manhattan_plot: Function to create a manhattan plot

Description Usage Arguments Value

View source: R/Function_manhattan.R

Description

Function to create a manhattan plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
manhattan_plot(
  GM,
  pvals,
  cutoff = NULL,
  QTN_index = c(),
  FP = NULL,
  TP = NULL,
  trait = "unknown",
  messages = FALSE
)

Arguments

GM

genetic map of data with chr and position of each SNP

pvals

pvals from gwas results for each SNP

cutoff

If cutoff is default, uses Bonferroni; else uses -log(value) of 0.05/number of SNPs

QTN_index

posistion of QTN if applicable

FP

Positions of SNPS that are False positive

TP

Positions of SNPS that are True positive

trait

character value for trait name

Value

Manhatten plot


stp4freedom/HW4_GLM_GWAS documentation built on March 29, 2020, 6:49 p.m.