meffil.ewas.bedgraph: Save EWAS effect estimates to bedgraph file

View source: R/bedgraph.r

meffil.ewas.bedgraphR Documentation

Save EWAS effect estimates to bedgraph file

Description

Saves EWAS effect estimates to a bedgraph file for viewing on a genome browser. More file format details can be found here: https://genome.ucsc.edu/goldenPath/help/bedgraph.html

Usage

meffil.ewas.bedgraph(
  ewas.object,
  filename,
  analysis,
  name,
  description,
  header
)

Arguments

ewas.object

Object returned by meffil.ewas().

filename

Filename for output, typically with a 'bed' extension.

analysis

The particular EWAS analysis from which to obtain summary statistics. This should be one of names(ewas.object$analyses).

name

Text name to be included in the bedgraph header.

description

Text description to be included in the bedgraph header.

header

Bedgraph header. The default header uses the name and description provided.


perishky/meffil documentation built on March 20, 2024, 1:56 a.m.