Given a genomic location string, converts it to a GRanges object. The
location string is parsed based on a regular expression with up to three
capture groups, capturing the chromosome, the strand, and the element
location sub-strings. The element string is then parsed into a sequence of
start and stop ranges, and the this data is used to create and return a
GRange object. The regexp used to match with must contain at least three
named capture groups:
(?<strand>..). Matching is done using
1 2 3
The string to parse into a GRange object
The regular expression used to extract the substrings for the chromosome (chr), the element list (elements), and strand (strand).
Allows passing alternate fromDelim and betweenDelim regular expressions through to grFromElementString, which parses the element part of the locationstring
The default location string parsed is assumed to look something like:
White-space is ignored around the delimiters ':', ',', and '-'.
A GRange object corresponding to the location string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.