export.bed12: Export interactions in BED12 format.

Description Usage Arguments Value Examples

Description

Export interactions in BED12 format.

Usage

1
2
3
4
5
export.bed12(GIObject, fn = NULL, score = "counts")

## S4 method for signature 'GInteractions'
export.bed12(GIObject, fn = NULL,
  score = "counts")

Arguments

GIObject

A GInteractions object.

fn

A filename to write the object to

score

Which metadata column to export as score

Exports a GInteractions object to BED12 format, and writes to a specified file. If filename is not specified, then a data.frame containing the information is returned.

Bed12 files provide a method for visualising interactions, it is not a good format for storing all of the data associated with an interaction dataset, particularly for trans-chromosomal interactions, which can only be stored in the bed12 names field.

Value

invisible(1) if outputting to file or a data.frame containing all of the corresponding information

Examples

1
2

Bioconductor-mirror/GenomicInteractions documentation built on June 23, 2017, 6:23 p.m.