View source: R/generate_score_heatmap.R
generate_score_heatmap
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"
)
|
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". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.