gr.chr: Prepend "chr" to 'GRanges seqlevels'

View source: R/gUtils.R

gr.chrR Documentation

Prepend "chr" to GRanges seqlevels

Description

Prepend "chr" to GRanges seqlevels

Usage

gr.chr(gr)

Arguments

gr

GRanges object to append 'chr' to

Value

Identical GRanges, but with 'chr' prepended to each seqlevel

Examples


gr <- gr.chr(GRanges(c(1,"chrX"), IRanges(c(1,2), 1)))
seqnames(gr)


mskilab/gUtils documentation built on June 6, 2023, 12:08 a.m.