generate_score_heatmap: generate_score_heatmap

Description Usage Arguments

View source: R/generate_score_heatmap.R

Description

generate_score_heatmap

Usage

1
2
3
4
5
6
7
generate_score_heatmap(
  score_matrix,
  fillOption = "C",
  scaleFillValues = c(0, 1),
  scaleFillLimits = c(0, signif(max(score_matrix), digits = 1)),
  compFunc = "dotproduct"
)

Arguments

score_matrix

A matrix containing 12C and 14N abundances.

fillOption

Argument passed to ggplot2::scale_fill_viridis_c. Controls which viridis color scale is used.

scaleFillValues

Argument passed to ggplot2::scale_fill_viridis_c. Controls positions of colors along the gradient.

scaleFillLimits

Argument passed to ggplot2::scale_fill_viridis_c. Controls values which are represented by the fill range.

compFunc

Function used for comparison of experimental and theoretical spectra. This only impacts the legend label. Acceptable values are "dotproduct" and "scoremfa".


davidsbutcher/abundancer documentation built on Feb. 21, 2022, 2:13 p.m.