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

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

ADD REPLYlink written 4 months 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: 265 users visited in the last hour