chr {genoset} | R Documentation

## Chromosome name for each feature

### Description

Get chromosome name for each feature. Returns character.

### Usage

    chr(object)

    ## S4 method for signature 'GenoSet'
    chr(object)

    ## S4 method for signature 'GenomicRanges'
    chr(object)

### Arguments

`object` | GRanges GenoSet

### Value

character vector of chromosome positions for each feature

### Examples

      data(genoset,package="genoset")
      chr(genoset.ds)  # c("chr1","chr1","chr1","chr1","chr3","chr3","chrX","chrX","chrX","chrX")
      chr(rowRanges(genoset.ds))  # The same

[Package genoset version 1.38.0 Index]