View source: R/get.chrom.length.R
get.chrom.length | R Documentation |
Retrieve chromosome size data from chr.info txt files available on the UCSC genome browser based on the user specified genome assembly.
get.chrom.length(genome.assembly)
genome.assembly |
User can specify one of four supported genome assemblies that include "Human_GRCh38", "Human_GRCh37", "Mouse_HGCm39" and "Mouse_HGCm38". |
Based on the genome assembly specified by the user, the function will directly retrieve chromosome size data from chr.info txt file available on the UCSC genome browser.
A data table with the following two columns:
chrom |
column has the chromosome number denoted as 1, 2, X, Y, etc.. |
size |
column has the chromosome size in base pairs. |
Abdelrahman Elsayed abdelrahman.elsayed@stjude.org and Stanley Pounds stanley.pounds@stjude.org
Cao, X., Elsayed, A. H., & Pounds, S. B. (2023). Statistical Methods Inspired by Challenges in Pediatric Cancer Multi-omics.
circlize::read.chromInfo()
# To retreive chromosome size data for hg19 genome assembly:
hg19.chrom.size=get.chrom.length("Human_GRCh37")
# "Human_GRCh38" can be used to retreive chromosome size data for hg38 genome assembly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.