Simple image plot of within-sample allele frequencies. The top row of the plot corresponds to the first row of the input matrix.

plot_wsaf(x, col_pal = "plasma")

Arguments

x

matrix of within-sample allele frequencies, with samples in rows and loci in columns.

col_pal

which viridis colour pallet to use. Options are "viridis", "plasma", "magma" or "inferno".