chr-methods: Chromosome name for each feature

Description Usage Arguments Value Examples

Description

Get chromosome name for each feature. Returns character.

Usage

1
2
3
4
5
6
7
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

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

genoset documentation built on Nov. 1, 2018, 2:55 a.m.