-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathread_cov.Rd
30 lines (26 loc) · 864 Bytes
/
read_cov.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/read-coverage.R
\name{read_cov}
\alias{read_cov}
\title{Read the coverage for regions on one chromosome.}
\usage{
read_cov(f_name, chr, start, end, n_read = NULL)
}
\arguments{
\item{f_name}{string. Full path to bam file.}
\item{chr}{string. Chromosome name, make sure it follows to naming
standards in your bam file.}
\item{start}{integer vector. Starting coordinates for regions to read.}
\item{end}{integer vector. Starting coordinates for regions to read.}
\item{n_read}{integer. total number of reads in the bam file.}
}
\value{
GRanges object with reads from a given chromosome.
}
\description{
Read the coverage for regions on one chromosome.
}
\seealso{
Other data import functions: \code{\link{full_genome_regions}},
\code{\link{read_bed}}, \code{\link{read_par_file}}
}