readqWig: Quickly read and normalize a wig formatted file

Description Usage Arguments Value Examples

View source: R/reading_functions.R

Description

Wrapper function for reading files that are formatted as wig files. The data is also normalized to 1 million sequencing reads.

Usage

1
readqWig(file, window, vp.pos)

Arguments

file

path to a wiggle file

window

genomic window around the viewpoint to read in

vp.pos

postion of the viewpoint in the genome

Value

a matrix with two columns, position and score

Examples

1
data <- readqWig(file="alpha.wig", window = 700e3, vp.pos = 32224333 )

deWitLab/peakC documentation built on May 28, 2019, 7:53 p.m.