get_width {segmenter} | R Documentation

## Get the width of the segments in each cell type

### Description

Get the width of the segments in each cell type

### Usage

    get_width(segments, average = FALSE)

### Arguments

`segments` | A `GRanges` object. Usually the output of calling `segment` on the the output object of `lean_model`.
`average` | A logical. Whether the width should be averaged across cells.

### Value

A `data.frame`

### Examples

    get_width(segment(test_obj))
    get_width(segment(test_obj), average = TRUE)

[Package segmenter version 1.0.0 Index]