barPlotAncest {CAnD} | R Documentation |
Plots ancestry proportion estimates for each sample
barPlotAncest(set, order = TRUE, title = "", xlab = "Sample", ylab = "Ancestry Proportion", ...)
set |
A |
order |
A |
title |
A character string containing the title of the plot. Default is "", a blank title. |
xlab |
A character vector with the label for the x-axis on
the plot. Default is |
ylab |
A character vector holding the label for the y-axis
on the plot. Default is |
... |
Further arguments to be passed to the plotting methods, such as graphical parameters. |
Creates a barplot of ancestry proportions for each sample for a given chromosome or chromosomal region.
Creates a plot.
Caitlin McHugh mchughc@uw.edu
data(ancestries) chr1 <- ancestries[,c("Euro_1","Afr_1","Asian_1")] #barPlotAncest(chr1,title="Chr 1 Ancestry Proportions")