plot_signatures: Plotting Signature Motif counts/spectra

Description Usage Arguments Value Examples

View source: R/plotting.R

Description

Plotting Signature Motif counts/spectra

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_signatures(
  result,
  no_legend = FALSE,
  plotly = FALSE,
  color_variable = NULL,
  color_mapping = NULL,
  text_size = 10,
  facet_size = 10,
  show_x_labels = TRUE
)

Arguments

result

S4 Result Object

no_legend

Remove legend from plot

plotly

add plotly layer for plot interaction

color_variable

Annotation column to use for coloring plotted motifs, provided by counts table from input result's bagel object

color_mapping

Mapping from color_variable to color names, provided by counts table from input result's bagel object

text_size

Size of axis text

facet_size

Size of facet text

show_x_labels

Toggle plotting of x-axis labels

Value

Generates plot no return

Examples

1
2
result <- readRDS(system.file("testdata", "res.rds", package = "BAGEL"))
plot_signatures(result)

campbio/BAGEL documentation built on Oct. 6, 2020, 3:59 a.m.