insertchr: Insert chromosome for in case it's missing

View source: R/utils.R

insertchrR Documentation

Insert chromosome for in case it's missing

Description

Add two columns with transformed genomic coordinates to the GRanges-class object. This is useful for making genomewide plots.

Usage

insertchr(gr)

Arguments

gr

A GRanges-class object.

Value

The input GRanges-class object with an additional metadata column containing chromosome name with 'chr'.


daewoooo/BreakPointR documentation built on May 8, 2024, 10:43 p.m.