Search
Question: Split Genome into 2kb bins GenomicRanges
0
gravatar for chitsazanalex
8 weeks ago by
chitsazanalex0 wrote:

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. 

 

ADD COMMENTlink modified 8 weeks ago by Hervé Pagès ♦♦ 13k • written 8 weeks ago by chitsazanalex0
4
gravatar for Hervé Pagès
8 weeks ago by
Hervé Pagès ♦♦ 13k
United States
Hervé Pagès ♦♦ 13k wrote:

Take a look at ?tileGenome in the GenomicRanges package.

Cheers,

H.

ADD COMMENTlink written 8 weeks ago by Hervé Pagès ♦♦ 13k

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

ADD REPLYlink written 8 weeks ago by chitsazanalex0
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: 106 users visited in the last hour