Learn R Programming

GGtools (version 5.8.0)

simpleTiling: create a GRanges with a tiling of the human genome

Description

create a GRanges with a tiling of the human genome

Usage

simpleTiling(ntile)

Arguments

ntile

Examples

Run this code
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (ntile) 
{
    require(Homo.sapiens)
    hsi = seqinfo(Homo.sapiens)[paste0("chr", 1:22), ]
    GenomicRanges::unlist(tileGenome(hsi, ntile = 100))
  }

Run the code above in your browser using DataLab