rnb.bed.from.segmentation {RnBeads} | R Documentation

## rnb.bed.from.segmentation

### Description

This function creates a BED file from the segmentation result of `rnb.execute.segmentation` and stores it on disk.

### Usage

    rnb.bed.from.segmentation(
      rnb.set,
      sample.name,
      type = "final",
      store.path = getwd()
    )

### Arguments

`rnb.set` | An `RnBSet-class` object obtained by executing `rnb.execute.segmentation`.
`sample.name` | The sample name for which segmentation was computed.
`type` | The type of segmentation (`PMDs`, `UMRs`, `LMRs`, `HMDs` or `final`).
`store.path` | Path to which the BED file is to be stored.

### Author(s)

Michael Scherer

[Package RnBeads version 2.12.2 Index]