prettyprint: Formatted ggplot of ancestry-stratified 1000 Genomes allele...

Description Usage Arguments Examples

Description

Barplot of ancestry-stratified values

Usage

1
2
3
prettyprint(values, sd, title, ylimit, xlabel, ylabel)
## Default method
prettyprint(values, title = NULL, sd = TRUE, ylimit = NULL, xlabel = "Population", ylabel = NULL)

Arguments

values

data frame (26 x 2); values (mean and sd) for each 1000 genomes population

sd

logical; show standard deviation bars

title

character; plot title

xlabel

character; label for x-axis

ylabel

character; label for y-axis

ylimit

2 element vector; specifies bounds of y-axis

Examples

1
2
prettyprint(values, title = title, sd = F, ylimit = NULL, 
xlabel = "Population", ylabel = "Fraction with at least 1 non-reference site")

jamesdiao/clinvaR documentation built on May 18, 2019, 11:19 a.m.