Download information about each of the chromosomes passed in, most importantly the size.
get_chr_info(chrs, genome)
chrs | chromosomes to look up (must match UCSC format) |
---|---|
genome | the UCSC genome to look at see https://genome.ucsc.edu/. |
a dataframe with data on the passed in chromosomes
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