Combine separate dba objects into the one
1
0
Entering edit mode
Lauma R ▴ 10
@lauma-r-14513
Last seen 5.5 years ago
Cambridge

Dear All, 

 

I am currently analyzing large data set and to speed up things I am going to use cluster. 

I am working with DiffBind packadge and I will create a single GRanges object that will be used for dba.counts function to create few smaller binding matrixes, than combine them in one dba object (as they all have exectly the same ranges) and perform differential binding analysis .  However, I am not sure how to join few separate DBA objects into the one?

 

 

Kind Regrdas

 

 

 

Diffbind • 764 views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.1k
@rory-stark-5741
Last seen 7 days ago
Cambridge, UK

You can use dba.peakset() to add all the peaks from one DBA object to another. If you want to add the peaks from myDBA2 to myDBA1, the call is:

> myDBA3 <- dba.peakset(myDBA1,peaks=myDBA2)

Cheers-

Rory

ADD COMMENT

Login before adding your answer.

Traffic: 754 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6