grs.plot.new: Updated grs.plot function from package gtx

Description Usage Arguments See Also Examples

Description

Modified function form of the function grs.plot from package gtx that allows coloring by allele frequency.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
grs.plot.new(
  w,
  b,
  s,
  af,
  col.by = NULL,
  col = NULL,
  text = NULL,
  textpos = NULL,
  textcex = 0.5,
  alpha = 0.05,
  display.legend = FALSE,
  display.pvaldir = FALSE
)

Arguments

col.by

name of column in dataset to color by (for eg: af)

display.legend

logical input

See Also

gtx, grs.plot

Examples

1
with(test, grs.plot.new(get(paste("Effect",trait, sep=".")), AdjustedSCD.Effect, StdErr,Freq1, col.by="af"))

foramashar/fashaR documentation built on Nov. 15, 2020, 5:05 a.m.