Description Usage Arguments Details Value Examples
Casts genomic regions into GRanges format
1 | cast_granges(regions)
|
regions |
GRanges or data.frame; The input regions to cast to |
Casts the input as a GRanges object. Input can be GRanges or a
data.frame-compatible class that can be cast through as.data.frame(). Input BED format
must be chr-start-end for data.frame objects.
GRanges object with the input regions
1 2 | regions = data.table(chr = 'chr1', start = 1, end = 100)
cast_granges(regions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.