chromosome: Extract character vector of sequence names

Description Usage Arguments Value Examples

Description

Short cut for as.character(seqnames(g)) where g is a GRanges object.

Usage

1
2
3
4
chromosome(object, ...)

## S4 method for signature 'GenomicRanges'
chromosome(object, ...)

Arguments

object

a GRanges instance

...

currently ignored

Value

A character vector

Examples

1
2
   g <- GRanges("chr1", IRanges(10, 15))
   chromosome(g)

CNPBayes documentation built on May 6, 2019, 4:06 a.m.