plot_heatmap | R Documentation |
Given a cross-sample summary data frame as produced by analyze_dataset and
the name of a column (e.g., Stutter
, Homozygous
, ProminentSequences
),
plot a heatmap of the values for that attribute, with sample identifiers on
rows and loci on columns. The attribute will be coerced to numeric.
plot_heatmap(
results,
attribute,
label_by = c("Allele1Length", "Allele2Length"),
color = c("white", "pink"),
breaks = NA,
...
)
results |
combined results list |
attribute |
character name of column in results$summary to use. |
label_by |
vector of column names to use when writing the genotype summary values on top of the heatmap cells. Defaults to allele sequence lengths. |
color |
vector of colors passed to pheatmap::pheatmap. |
breaks |
vector of breakpoints passed to |
... |
additional arguments to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.