Search
Question: Run windowCounts only on annotated regions?
0
gravatar for endrebak85
18 months ago by
endrebak8530
endrebak8530 wrote:

I want to run windowCounts only on some annotated regions. Is this possible?

readParams has a discard-option, but not one for include...

Thanks. 

ADD COMMENTlink modified 18 months ago by Aaron Lun20k • written 18 months ago by endrebak8530
2
gravatar for Aaron Lun
18 months ago by
Aaron Lun20k
Cambridge, United Kingdom
Aaron Lun20k wrote:

No. The closest you can get is to run windowCounts on the whole genome (or selected chromosomes), and then to apply findOverlaps to select windows that overlap your regions of interest. Depending on what you want to use the counts for, it may be more appropriate to construct bin/window intervals yourself and to apply regionCounts, e.g., as described in A: Use csaw to build matrix for heatmap?.

ADD COMMENTlink written 18 months ago by Aaron Lun20k

Thanks, csaw is wonderful.

ADD REPLYlink written 18 months ago by endrebak8530
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 326 users visited in the last hour