Skip to contents

Convert GRanges object to a vector of strings

Usage

get_granges_string(gr, sep = c(":", "-"))

Arguments

gr

A GRanges object

sep

Vector of separators to use for genomic string. First element is used to separate chromosome and coordinates, second separator is used to separate start and end coordinates.

Value

A character vector

Details

This function was adapted from stuart-lab/signac.