make_contacts: Get contact matrix from compressed and indexed reads

Description Usage Arguments Value See Also Examples

View source: R/make_contacts.R

Description

This function takes a compressed and indexed file of contact reads and returns a contact matrix

Usage

1
make_contacts(infile, region, window)

Arguments

infile

Input tab separated, compressed and indexed contact's read file (chr1 pos1 strand1 chr2 pos2 strand2 read_ID)

region

Region to retrieve the contacts from. Accepts expression wit the format "chr:start-position", "chr:start" or "chr"

window

Resolution in bp

Value

A squared matrix of contacts

See Also

read_tabix and get_contacts for data retrieval

Examples

1
plot(0)

qenvio/hicvidere documentation built on May 24, 2017, 1:24 p.m.