plotPWCoincidence: fineSTRUCTURE pairwise coincidence plot

Description Usage Arguments Examples

View source: R/plotPWCoincidence.R

Description

fineSTRUCTURE pairwise coincidence plot

Usage

1
plotPWCoincidence(x, cex = 0.5, keep_ones = FALSE, colours = NULL)

Arguments

x

a fineStruct object

cex

(default=0.7) number indicating the amount by which plotting text and symbols should be scaled relative to the default.

keep_ones

(default=FALSE) whether or not to annotate node with full support.

colours

a vector of colors to be passed to image. (e.g., heat.colors(n=200)[200:1])

Examples

1
2
3
4
5
6
7
8
# fineStruct example
chunkfile <- system.file("extdata/fine_structure_files", "EastAsiaSimple.EMlinked.chunkcounts.out", package = "starmie")
treefile <- system.file("extdata/fine_structure_files", "EastAsiaSimple.EMlinked.tree.xml", package = "starmie")
mcmcfile <- system.file("extdata/fine_structure_files", "EastAsiaSimple.EMlinked.mcmc.xml", package = "starmie")
meancoincidencefile <- system.file("extdata/fine_structure_files", "EastAsiaSimple.EMlinked.meancoincidence.csv", package = "starmie")
mappopchunkfile <- system.file("extdata/fine_structure_files", "EastAsiaSimple.EMlinked.mapstate.csv", package = "starmie")
fineData <- loadFineStructure(chunkfile, treefile, mcmcfile, meancoincidencefile, mappopchunkfile)
plotPWCoincidence(fineData)

sa-lee/starmie documentation built on May 28, 2019, 11 a.m.