show_sig_profile_loop {sigminer} | R Documentation |
Show Signature Profile with Loop Way
Description
Show Signature Profile with Loop Way
Usage
show_sig_profile_loop(
Signature,
sig_names = NULL,
ncol = 1,
nrow = NULL,
x_lab = "Components",
...
)
Arguments
Signature |
a |
sig_names |
subset signatures or set name of signatures, can be a character vector.
Default is |
ncol |
(optional) Number of columns in the plot grid. |
nrow |
(optional) Number of rows in the plot grid. |
x_lab |
x axis lab. |
... |
other parameters but |
Value
a ggplot
result from cowplot::plot_grid()
.
See Also
Examples
load(system.file("extdata", "toy_mutational_signature.RData",
package = "sigminer", mustWork = TRUE
))
# Show signature profile
p1 <- show_sig_profile_loop(sig2, mode = "SBS")
p1
p2 <- show_sig_profile_loop(sig2, mode = "SBS", style = "cosmic", sig_names = c("A", "B", "C"))
p2
[Package sigminer version 2.3.1 Index]