quickFigure: Quick figures

View source: R/PlotFunction.R

quickFigureR Documentation

Quick figures

Description

Summarize all results in a set of quick figures. Depending on how the function is called a different set of analytic plots are arranged into either a 'main' or 'supplementary' type multi-panel figure.

Usage

quickFigure(
  object,
  what = c("main", "supp"),
  save.filename = NULL,
  save.width = 10,
  save.height = 12,
  save.device = "pdf",
  quiet = TRUE,
  ...
)

Arguments

object

a BSFDataSet object

what

character; the plotting option. One of: 'main', 'supp'

save.filename

File name to create on the disc

save.width

numeric; plot size width

save.height

numeric; plot size height

save.device

charcter; Device to use. One of: 'pdf', 'png', ...

quiet

whether to print messages

...

further arguments passed to ggsave

Value

a plot

See Also

BSFind

Examples

# load clip data
files <- system.file("extdata", package="BindingSiteFinder")
load(list.files(files, pattern = ".rda$", full.names = TRUE))
load(list.files(files, pattern = ".rds$", full.names = TRUE)[1])
load(list.files(files, pattern = ".rds$", full.names = TRUE)[2])
bds = BSFind(bds, anno.genes = gns, anno.transcriptRegionList = regions,
 est.subsetChromosome = "chr22")
quickFigure(bds)


ZarnackGroup/BindingSiteFinder documentation built on Nov. 24, 2024, 10:41 a.m.