df_for_coords | R Documentation |
Construct a data frame of coordinate info from coordinate strings
df_for_coords(coord_strings)
coord_strings |
A list of coordinate strings (each like "chr1:500000-1000000") |
Coordinate strings consist of three pieces of information: chromosome, start, and stop. These pieces of information can be separated by the characters ":", "_", or "-". Commas will be removed, not used as separators (ex: "chr18:8,575,097-8,839,855" is ok).
data.frame with three columns, chromosome, starting base pair and ending base pair
df_for_coords(c("chr1:2,039-30,239", "chrX:28884:101293"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.