- Signature
a Signature
object obtained either from sig_extract or sig_auto_extract,
or just a raw absolute exposure matrix with column representing samples (patients) and row
representing signatures (signature names must end with different digital numbers,
e.g. Sig1, Sig10, x12). If you named signatures with letters,
you can specify them by sig_names
parameter.
- sig_names
set name of signatures, can be a character vector.
- groups
sample groups, default is NULL
.
- grp_order
order of groups, default is NULL
.
- grp_size
font size of groups.
- samps
sample vector to filter samples or sort samples, default is NULL
.
- cutoff
a cutoff value to remove hyper-mutated samples.
- style
plot style, one of 'default' and 'cosmic', works when
parameter set_gradient_color
is FALSE
.
- palette
palette used to plot, default use a built-in palette
according to parameter style
.
- base_size
overall font size.
- font_scale
a number used to set font scale.
- rm_space
default is FALSE
. If TRUE
, it will remove border color
and expand the bar width to 1. This is useful when the sample size is big.
- rm_grid_line
default is FALSE
, if TRUE
, remove grid lines of plot.
- rm_panel_border
default is TRUE
for style 'cosmic',
remove panel border to keep plot tight.
- hide_samps
if TRUE
, hide sample names.
- legend_position
position of legend, default is 'top'.