get_chr_sizes: get_chr_sizes

View source: R/get_chr_sizes.R

get_chr_sizesR 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'))

mervesa/HiCDCPlus documentation built on June 8, 2022, 3:43 a.m.