plotFixationSites {sitePath} | R Documentation

## Plot the result of fixation sites

### Description

Visualize the results of `paraFixSites`

### Usage

    plotFixationSites(x, ...)

    ## S3 method for class 'fixationSites'
    plotFixationSites(x, site = NULL, ...)

    ## S3 method for class 'paraFixSites'
    plotFixationSites(x, site = NULL, ...)

### Arguments

`x` | return from `paraFixSites`
`...` | further arguments passed to or from other methods.
`site` | the number of the site according to `setSiteNumbering`. If not provided, all sites will be plotted as labels on the tree

### Value

A `ggplot` object.

### Examples

    data(zikv_tree_reduced)
    data(zikv_align_reduced)
    paraFix <- paraFixSites(zikv_tree_reduced, alignment = zikv_align_reduced)
    plotFixationSites(paraFix)

[Package sitePath version 1.10.2 Index]