| PrepareData-methods {R3CPET} | R Documentation |
Instead of loading the data one at a time and then creating the index using the methods loadPETs,loadTFBS and createIndexes. The user can directly use the method PrepareData to do that.
## S4 method for signature 'character,character,logical' PrepareData(petFile,tfbsFile, petIsBed=TRUE)
petFile |
a |
tfbsFile |
a |
petIsBed |
a logical value specifying if the interaction file is in a "bed" format or not. |
A ChiapetExperimentData object in which the pet,tfbs and .dt slots populated .
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.
## get interactions file location
petFile <- file.path(system.file("example",package="R3CPET"),"HepG2_interactions.txt")
## get the TFBS file location
tfFile <- file.path(system.file("example",package="R3CPET"),"HepG2_TF.txt.gz")
## Not run:
## load the data
x<- PrepareData(petFile, tfFile, FALSE)
x
## End(Not run)