mut2GR: Convert mutation string to GRanges

View source: R/mutationCalling.R

mut2GRR 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')

benstory/mitoClone2 documentation built on Oct. 30, 2024, 3:20 p.m.