Description Usage Arguments Value Author(s) See Also Examples
read_chrom_size
reads a file containing genome chromosome
sizes using the fread
function.
1 | read_chrom_size(file, delimiter = "\t")
|
file |
File name |
delimiter |
Delimiter format the columns are splitted. Default is tab. |
A data.table
object.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
1 2 3 4 5 | chr_file <- system.file("extdata", "hg19.chr.sizes", package = "BPRMeth")
chr_data <- read_chrom_size(chr_file)
# Extract the size of chr1
chr_data[1]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.