R: Create Dendrogram Based on Plasmid Content

tree_maker {Plasmidprofiler} | R Documentation

## Create Dendrogram Based on Plasmid Content

### Description

Reads report, converts to matrix of Sample ~ Plasmid with Sureness as cell values. Performs a hierarchical cluster analysis on a set of dissimilarities derived from the matrix. Creates a dendrogram from this data. Returns either the HC data or the dendrogram plot

### Usage

    tree_maker(report, hc.only = NA)

### Arguments

`report` | Dataframe of results produced by `subsampler` or `combine_results`
`hc.only` | Flag to return only hierarchical clustering results instead of dendrogram plot (set to 1)

### Value

Dendrogram object or hierarchical clustering results

### See Also

`subsampler`, `combine_results`

### Examples

    ## Not run:
    tree_maker(report)

    ## End(Not run)

[Package Plasmidprofiler version 0.1.6 Index]