dmrff.plot: Plot a region

View source: R/plots.r

dmrff.plotR Documentation

Plot a region

Description

dmrff.plot

Usage

dmrff.plot(
  region.chr,
  region.start,
  region.end,
  estimate,
  se,
  chr,
  pos,
  expand = 1,
  ci = T,
  verbose = T
)

Arguments

estimate

Vector of EWAS effect estimates (corresponds to rows of methylation).

se

Vector of standard errors of the coefficients.

chr

Feature chromosome (corresponds to rows of methylation).

pos

Feature chromosome position.

expand

Proportion to expand to include sites beyond the beginning and end of the region (default: 1, i.e. plot 3x the length of the region).

ci

Show confidence intervals rather than standard errors (default: TRUE).

verbose

If TRUE (default), then output status messages.

region.chr/start/end

Genomic region to plot.

methylation

Methylation matrix (rows=features, columns=samples).

Details

Calculate statistics for a set of genomic regions.

Value

ggplot object showing the plot.


perishky/dmrff documentation built on Jan. 4, 2024, 10:23 p.m.