plotMultiK: Generate a barplot for multiple values of K..

Description Usage Arguments Examples

View source: R/plotMultiK.R

Description

Generate a barplot for multiple values of K..

Usage

1
plotMultiK(x, populations = NULL, plot = TRUE)

Arguments

x

a structList or admixList object or a list of Q-matrices.

populations

a data.frame that contains the sample number as the first column and the population as the second.

plot

if FALSE returns a data.frame for customised plots

Examples

1
2
3
cluster_runs <- exampleStructure("multiple_runs")
# Generate barplot
plotMultiK(cluster_runs[3:5])


starmie documentation built on May 19, 2017, 7:52 a.m.
Search within the starmie package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.