GR_to_BED: GRanges to BED

Description Usage Arguments Details Value Author(s) See Also

Description

Saves an GRanges-object as a BED-file and returns the file location.

Usage

1
GR_to_BED(GR, bed_fname = NULL, trackline = FALSE)

Arguments

GR

GRanges-object.

bed_fname

Path to where file will be saved. Must end in ".bed". Defaults to tempfile().

trackline

logical: Whether a dummy trackline should be included in the .bed file

Details

Saves a GRanges object as a BED-file. Names are set to increasing integers and scores are set to feature widths (these will be overwritten).

Value

Path to file.

Author(s)

Malte Thodberg

See Also

tempdir tempfile


MalteThodberg/homeR documentation built on May 7, 2019, 2:09 p.m.