chromosome {CNPBayes} | R Documentation

## Extract character vector of sequence names

### Description

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

### Usage

    chromosome(object, ...)

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

### Arguments

`object` | a `GRanges` instance
`...` | currently ignored

### Value

A character vector

### Examples

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

[Package CNPBayes version 1.13.5 Index]