get_chr_sizes {HiCDCPlus} | R Documentation

## get_chr_sizes

### Description

This function finds all chromosome sizes of a given genome, genome version and set of chromosomes.

### Usage

    get_chr_sizes(gen = "Hsapiens", gen_ver = "hg19", chrs = NULL)

### Arguments

`gen` | name of the species: e.g., default `'Hsapiens'`
`gen_ver` | genomic assembly version: e.g., default `'hg19'`
`chrs` | select a subset of chromosomes' e.g., c('chr21','chr22'). Defaults to all chromosomes (except Y and M) in the genome specified.

### Value

named vector containing names as chromosomes and values as chromosome sizes.

### Examples

    get_chr_sizes('Hsapiens','hg19',c('chr21','chr22'))

[Package HiCDCPlus version 1.0.0 Index]