readMatrix: Quickly read and normalize a matrix formatted file

Description Usage Arguments Value

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
readMatrix(file, window, vp.pos, normalize = T)

Arguments

file

path to a two column 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


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