plotMB {motifbreakR} | R Documentation

## Plot a genomic region surrounding a genomic variant, and potentially disrupted motifs

### Description

Plot a genomic region surrounding a genomic variant, and potentially disrupted motifs

### Usage

    plotMB(results, rsid, reverseMotif = TRUE, effect = c("strong", "weak"))

### Arguments

`results` | The output of `motifbreakR`
`rsid` | Character; the identifier of the variant to be visualized
`reverseMotif` | Logical; if the motif is on the "-" strand show the the motifs as reversed `FALSE` or reverse complement `TRUE`
`effect` | Character; show motifs that are strongly effected `c("strong")`, weakly effected `c("weak")`, or both `c("strong", "weak")`

### Details

`plotMB` produces output showing the location of the SNP on the chromosome, the surrounding sequence of the + strand, the footprint of any motif that is disrupted by the SNP or SNV, and the DNA sequence motif(s)

### Value

plots a figure representing the results of `motifbreakR` at the location of a single SNP, returns invisible `NULL`.

### See Also

See `motifbreakR` for the function that produces output to be visualized here, also `snps.from.rsid` and `snps.from.file` for information about how to generate the input to `motifbreakR` function.

### Examples

    data(example.results)
    example.results
    ## Not run:
    plotMB(example.results, "rs2661839", effect = "strong")

    ## End(Not run)

[Package motifbreakR version 1.12.0 Index]