Learn R Programming

genBaRcode (version 1.2.8)

error_correction_treePlot: Tree Plot

Description

creates a Tree Plot visualising of the barcode clustering as part of the error correction process.

Usage

error_correction_treePlot(edges, vertices)

Value

a ggplot2 object.

Arguments

edges

a data frame containing edge definitions by two columns calles "from" and "to". Such data frame will be returned by the error_correction function with the EC_analysis parameter set to TRUE.

vertices

a data frame with at least one column containing a list of nodes (also returned by the error_correction function with the EC_analysis parameter set to TRUE)