mut2GR {mitoClone2}R Documentation

Convert mutation string to GRanges

Description

Convert mutation string to GRanges

Usage

mut2GR(mut)

Arguments

mut

The mutation to convert to a GRanges in the format of "position reference>alternate".

Value

Returns a GRanges object containg the site of the variant along with reference/alternate allele data in the metacolumns

Examples

mutation.as.granges <- mut2GR('1434 G>A')
mutation.as.granges.no.space <- mut2GR('1434G>A')

[Package mitoClone2 version 1.0.0 Index]