Description Usage Arguments Value Author(s) Examples
View source: R/BorderAnalysisMiscFun.R
Function to import a chromatin domain bed file. The bed file must contain coordinates of the chromatin domains. It can be for instance topologically associating domain (TAD) coordinates. In the bed file, the first column is the chromosome, the second column is the starting position of the domain, the third column is the ending position of the domain. The fourth column (optional) is the annotation of the domain (for instance: active, PcG, ...).
1 | readDomBed(domainBedFile, seqInfoChr)
|
domainBedFile |
The name of the bed file. If it does not contain an absolute path, the file name is relative to the current working directory. |
seqInfoChr |
A Seqinfo object for the corresponding genome. |
A GRanges object is returned.
Raphael Mourad
1 2 3 4 | dom_file <- system.file("inst/extdata", "TAD_Corces_1kb_type_p1.bed", package="HiCfeat")
data(dataExample)
seqInfoChr=dataExample$SeqInfoChr
domBed=readDomBed(dom_file,seqInfoChr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.