locusplot: Locusplot

Description Usage Arguments

View source: R/locusplot.R

Description

Locusplot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
locusplot(
  cpg,
  stats,
  windowsize,
  threshold = NULL,
  significance_line = FALSE,
  highlight = TRUE,
  text_size = 13,
  point_size = 2.5
)

Arguments

cpg

CpG-site to plot

stats

data.frame containing association p-values. Should contain a 'Probe' and a 'p' column.

windowsize

Size (bp) of the window surrounding the CpG-site that should be plotted.

threshold

Significance threshold. By default will use bonferonni threshold, using the number of probes in the 'stats' file.

significance_line

Plot a significane line(TRUE/FALSE)?

highlight

Highlight significant sites?

text_size

Text size.

point_size

Point size.


pjhop/DNAmCrosshyb documentation built on June 23, 2021, 1:04 p.m.