plot_cts_per_locus: Plot heatmap of read counts matching each locus primer

View source: R/report.R

plot_cts_per_locusR Documentation

Plot heatmap of read counts matching each locus primer

Description

Given a data frame as produced by tally_cts_per_locus, plot a heatmap showing the number of reads matching the forward primer of each locus across samples. Samples are shown on rows with the reads categorized by locus across columns.

Usage

plot_cts_per_locus(cts_per_locus, idx_row = NULL, render = TRUE, ...)

Arguments

cts_per_locus

data frame as produced by tally_cts_per_locus.

idx_row

Optional vector of sample row indices to use. (Using this argument rather than filtering the input allows the same plot scale to be used across plots.)

render

Should the plot be drawn to the display device?

...

additional arguments passed to pheatmap::pheatmap.

See Also

plot_heatmap


ressy/microsat documentation built on Aug. 24, 2023, 10:09 a.m.