read_chrom_size: Read genome chromosome sizes file.

Description Usage Arguments Value Author(s) See Also Examples

Description

read_chrom_size reads a file containing genome chromosome sizes using the fread function.

Usage

1

Arguments

file

The name of the file to read data values from.

Value

A data.table object.

Author(s)

C.A.Kapourani C.A.Kapourani@ed.ac.uk

See Also

read_rna_encode_caltech, read_bs_encode_haib

Examples

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 the chr1
chr_data[1]

andreaskapou/BPRMeth-devel documentation built on May 12, 2019, 3:32 a.m.