Description Usage Arguments Value Author(s) References See Also Examples
This helper method can be used to create a "bed" file in which the coordinates of the regions are the centre of the interactions in the raw data. in R3CPET we suppose that the centre of the interactions are the most enriched when doing read mapping ,thus, we consider just the region around the centre to detect the TFBS.
1 2 | ## S4 method for signature 'character'
CreateCenteredBED(file, header=TRUE,dist=1000)
|
file |
a |
header |
|
dist |
|
A 4 columns data.frame
object, in which the first 3 columns indicate the location of the region and the 4th on indicate its name.
The names are of the format PET#\w+.1
for the left side regions and PET#\w+.2
for the right side ones.
Mohamed Nadhir Djekidel (nde12@mails.tsinghua.edu.cn)
Mohamed Nadhir D, Yang C et al 3CPET: Finding Co-factor Complexes in Chia-PET experiment using a Hierarchical Dirichlet Process, ....
ChiapetExperimentData
, loadTFBS
, loadPETs
, loadPPI
, createIndexes
.
1 2 3 4 5 | ## get interactions file location
petFile <- file.path(system.file("example",package="R3CPET"),"HepG2_interactions.txt")
res <- CreateCenteredBED(petFile, header=TRUE, dist=1000)
head(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.