Cleaning up DiffBind counts in relation to chromosome map
1
0
Entering edit mode
rbronste ▴ 60
@rbronste-12189
Last seen 5.1 years ago

Wondering how I can go about outputting the following command which would have the chromosome map already applied? So for instance instead of "chromosome # 26" representing the X, it is already changed in the binding matrix following counting, or is this only possible in post-processing (e.g. editing the csv output)? Thanks!

ChIP_count$binding

 

 

diffbind chipseq differential binding analysis • 925 views
ADD COMMENT
2
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 5 weeks ago
Cambridge, UK

You can use dba.peakset() with bRetrieve=TRUE. This will return the binding matrix with the chromosome names in it. By default this is returned as a GRanges object; if you set DataType=DBA_DATA_FRAME it will return a dataframe.

ADD COMMENT
0
Entering edit mode

Thanks, exactly what I needed!

ADD REPLY

Login before adding your answer.

Traffic: 746 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