powered by
Currently support copy number signatures and mutation signatures.
draw_sig_profile(nmfObj, mode = c("copynumber", "mutation"), y_scale = c("relative", "absolute"), font_scale = 1)
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".
one of 'relative' or 'absolute', if choose 'relative', signature columns will be scaled to sum as 1.
a number used to set font scale.
a ggplot object
ggplot
Other signature plot: draw_sig_activity, draw_sig_corrplot, draw_subtypes_comparison
draw_sig_activity
draw_sig_corrplot
draw_subtypes_comparison
# NOT RUN { # Load copy number signature load(system.file("extdata", "toy_copynumber_signature.RData", package = "sigminer", mustWork = TRUE )) draw_sig_profile(res$nmfObj) # }
Run the code above in your browser using DataLab