Search
Question: Split Genome into 2kb bins GenomicRanges
0
gravatar for chitsazanalex
14 months ago by
chitsazanalex10 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 14 months ago by Hervé Pagès ♦♦ 13k • written 14 months ago by chitsazanalex10
4
gravatar for Hervé Pagès
14 months 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 14 months ago by Hervé Pagès ♦♦ 13k

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

ADD REPLYlink written 14 months ago by chitsazanalex10
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: 351 users visited in the last hour