Split Genome into 2kb bins GenomicRanges
1
0
Entering edit mode
@chitsazanalex-11765
Last seen 6.6 years ago

Is there a way to split the entire genome into a genomicRanges of 2kb bins? Im thinking something along that line that uses `seqlengths()` to get chromosome length and then some function to split into 2kb bins, with a GRange for each bin. It's that 'some function' i can't seem to find. 

 

genomicranges • 1.4k views
ADD COMMENT
4
Entering edit mode
@herve-pages-1542
Last seen 6 hours ago
Seattle, WA, United States

Take a look at ?tileGenome in the GenomicRanges package.

Cheers,

H.

ADD COMMENT
0
Entering edit mode

Oh man, that is EXACTLY what I was looking for. Thank you

ADD REPLY

Login before adding your answer.

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