Learn R Programming

sigminer (version 1.0.6)

show_cosmic_sig_profile: Plot COSMIC Signature Profile

Description

Plot COSMIC Signature Profile

Usage

show_cosmic_sig_profile(
  sig_index = NULL,
  show_index = TRUE,
  sig_db = "legacy",
  ...
)

Arguments

sig_index

a vector for signature index. "ALL" for all signatures.

show_index

if TRUE, show valid indices.

sig_db

can be 'legacy' (for COSMIC v2 'SBS'), 'SBS', 'DBS', 'ID' and 'TSB' (for SBS transcriptional strand bias signatures). Default 'legacy'.

...

other arguments passing to show_sig_profile.

Value

a ggplot object

Examples

Run this code
# NOT RUN {
show_cosmic_sig_profile()
show_cosmic_sig_profile(sig_db = "SBS")
show_cosmic_sig_profile(sig_index = 1:5)
show_cosmic_sig_profile(sig_db = "SBS", sig_index = c("10a", "17a"))

gg <- show_cosmic_sig_profile(sig_index = 1:5)
gg$aetiology
# }

Run the code above in your browser using DataLab