read_cov: Read the coverage for regions on one chromosome.

Description Usage Arguments Value See Also

Description

Read the coverage for regions on one chromosome.

Usage

1
read_cov(f_name, chr, start, end, n_read = NULL)

Arguments

f_name

string. Full path to bam file.

chr

string. Chromosome name, make sure it follows to naming standards in your bam file.

start

integer vector. Starting coordinates for regions to read.

end

integer vector. Starting coordinates for regions to read.

n_read

integer. total number of reads in the bam file.

Value

GRanges object with reads from a given chromosome.

See Also

Other data import functions: full_genome_regions, read_bed, read_par_file


anasrana/spector documentation built on May 14, 2019, 2:36 p.m.