View source: R/mutationCalling.R
mut2GR | R Documentation |
Convert mutation string to GRanges
mut2GR(mut)
mut |
The mutation to convert to a GRanges in the format of "position reference>alternate". |
Returns a GRanges object containg the site of the variant along with reference/alternate allele data in the metacolumns
mutation.as.granges <- mut2GR('1434 G>A')
mutation.as.granges.no.space <- mut2GR('1434G>A')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.