plot_two_signature_hexplot: Plots a hexplot between two signatures

Description Usage Arguments Details Value

View source: R/plot_two_signature_hexplot.R

Description

The MCMC sample space allows one to examine for multicollinearity between mutation signatures. For more details on signature bleed, see plot_signature_pairwise_bleed.

Usage

1
2
3
4
5
6
plot_two_signature_hexplot(
  exposures_mcmc_output,
  signature_name_1,
  signature_name_2,
  trendline = TRUE
)

Arguments

exposures_mcmc_output

Output from get_exposures.

signature_name_1

String denoting signature name (must match one of those in exposures_mcmc_output)

signature_name_2

String denoting signature name (must match one of those in exposures_mcmc_output)

trendline

Boolean value specifying whether to plot a linear trendline.

Details

This function provides a closer view on correlated signatures in the MCMC sample space. It plots the relationship between two signatures as a hexplot, and reports the Spearman correlation coefficient.

Value

A ggplot object showing the correlation of MCMC samples between two signatures.


eyzhao/SignIT documentation built on Dec. 6, 2019, 11:45 a.m.