theme_coverage_plot: A minimalistic ggplot2 theme designed for use with genome...

Description Usage Arguments Examples

Description

This theme is used as the default when plot_coverage is called, so you should usually only call this function to modify the appearance of the coverage plot.

Usage

1
theme_coverage_plot(facet_labs = TRUE, show_legend = TRUE)

Arguments

facet_labs

logical If TRUE (default), label sequences using the facet labels; if FALSE, sequences are labeled directly using geom_text

show_legend

logical If TRUE (default), label display any legend associated with the fill parameter of plot_coverage; if FALSE, do not display a legend

Examples

1
2
ali <- read_paf( system.file("extdata", "fungi.paf", package="pafr") )
plot_coverage(ali) + theme_coverage_plot(show_legend=FALSE)

pafr documentation built on Dec. 8, 2020, 5:06 p.m.