View source: R/file_format_io.R
read_regions | R Documentation |
This function attempts to read in a set of genomic regions as a GRanges object. It does its best to auto-detect the input file type. If it cannot do so, it throws an error.
read_regions(filename)
filename |
The file to read regions from. |
a GRanges object.
Possible input file types include: RDA or RDS file (containing a GRanges or data frame), narrowPeak, BED, GFF, and SAF.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.