Download information about each of the chromosomes passed in, most importantly the size.

get_chr_info(chrs, genome)

Arguments

chrs

chromosomes to look up (must match UCSC format)

genome

the UCSC genome to look at see https://genome.ucsc.edu/.

Value

a dataframe with data on the passed in chromosomes

Examples

eg_info <- get_chr_info(chrs = c("chr21", "chr22"), genome = "hg38")

eg_info
#>   chrom     size assembled circular
#> 1 chr21 46709983      TRUE    FALSE
#> 2 chr22 50818468      TRUE    FALSE