Description Usage Arguments Details Value Author(s) Examples
View source: R/barPlotAncest.R
Plots ancestry proportion estimates for each sample
1 2 | 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
1 2 3 | data(ancestries)
chr1 <- ancestries[,c("Euro_1","Afr_1","Asian_1")]
#barPlotAncest(chr1,title="Chr 1 Ancestry Proportions")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.