insertchr {breakpointR}R 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'.


[Package breakpointR version 1.4.0 Index]