Description Usage Arguments Details Value Examples
Casts genomic regions into data.table format
1 | cast_datatable(regions)
|
regions |
GRanges or data.frame; The input regions to cast to |
Casts the input as a data.table 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.
data.table 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.