insertchr: Insert chromosome for in case it's missing

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1

Arguments

gr

A GRanges-class object.

Value

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


breakpointR documentation built on Nov. 8, 2020, 8:04 p.m.