Learn R Programming

Plasmidprofiler (version 0.1.6)

tree_maker: 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

Run this code
## Not run: 
# tree_maker(report)
# ## End(Not run)

Run the code above in your browser using DataLab