powered by
Currently support copy number signatures and mutational signatures.
draw_sig_activity(nmfObj, mode = c("copynumber", "mutation"), font_scale = 1, hide_samps = TRUE)
a NMF result object which is an element return from sig_extract or run results of NMF package.
NMF
variation type to decompose, currently support "copynumber" or "mutation".
a number used to set font scale.
if TRUE, not show sample names.
TRUE
a ggplot object
ggplot
Other signature plot: draw_sig_corrplot, draw_sig_profile, draw_subtypes_comparison
draw_sig_corrplot
draw_sig_profile
draw_subtypes_comparison
# NOT RUN { # Load copy number signature load(system.file("extdata", "toy_copynumber_signature.RData", package = "sigminer", mustWork = TRUE )) draw_sig_activity(res$nmfObj) # }
Run the code above in your browser using DataLab