Wrapper function for makeGrangesFromDataFrame() from the GenomicRanges package to build GRanges objects from character list of chromosomal regions because this is a common format to receive peak information.
character list or vector of chromosomal regions/peaks in form chromosomenumber(sep)start(sep)end eg. Chr1-345678-398744
separator between information pieces of string (conventionally "-" or ".")
GRanges corrsponding to input list of region information
If region_list is a dataframe you should use the GenomicRanges function makeGRangesFromDataFrame which this function applies
data(schepPeaks) schepGranges = peaksToGRanges(schepPeaks, sep = "-")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.