plot_acc: plot_acc

View source: R/plot_acc.R

plot_accR Documentation

plot_acc

Description

Plots a pangenome accumulation curve.

Usage

plot_acc(pa, nperm = 100, legend = TRUE, text_size = 14, color_pallete = 6)

Arguments

pa

a gene precence/absence matrix. Alternatively a list of matrices can be given.

nperm

the number of permutation to perform (default=100)

legend

whether or not to plot the legend (default=TRUE)

text_size

adjusts the size of text in the plot

color_pallete

the colour pallete to use. A number between 1 & 9. See 'scale_colour_brewer' for more details

Value

a plot of the pangenome accumulation curve

Examples


sim <- simulate_pan(rate=1e-3)
pa <- sim$pa
plot_acc(pa, color_pallete=7)


gtonkinhill/panstripe documentation built on Feb. 27, 2025, 9:01 p.m.