Learn R Programming

HiCociety (version 0.1.39)

getContactFrequency: Get contact Frequency

Description

Retrieve contact frequency from .hic file using strawR package.

Usage

getContactFrequency(fname, chr, resol)

Value

A data.frame containing three columns: x and y (genomic coordinate pairs), and counts (the contact frequency between them).

Arguments

fname

.hic data for any types of genome conformation capture data

chr

Chromosome number of network extraction

resol

DNA basepair Resolution. Default=10000

Author

Sora Yoon, PhD

Details

Get Contact Frequncy from .hic file

Examples

Run this code
myhic=system.file('extdata', 'example.hic', package ='HiCocietyExample')
A = getContactFrequency(myhic,19,5000)
head(print(A))

Run the code above in your browser using DataLab