plotDend: Plot reconstructed dendrogram

Description Usage Arguments Examples

View source: R/plot_dend.R

Description

This function plots reconstructed dendrogram in a genomic region.

Usage

1
plotDend(dend, direction = "downwards")

Arguments

dend

An object of class phylo or of class multiPhylo returned from reconstructPP or reconstructPPregion.

direction

A character string specifying the direction of the dendrogram. Four values are possible: "downwards" (the default), "upwards", "leftwards" and "rightwards".

Examples

1
2
3
4
5
6
7
8
data(ex_hapMat_data)

ex_dend <- reconstructPP(hapMat = ex_hapMat_data,
                         focalSNV = 3,
                         minWindow = 1,
                         sep = "-")

plotDend(dend = ex_dend, direction = "downwards")

perfectphyloR documentation built on March 8, 2021, 9:06 a.m.