shattered.map.plot: Visualize the aggregate map of shattered regions for all...

Description Usage Arguments Value Examples

View source: R/shattered.map.plot.r

Description

Visualize the aggregate map of shattered regions for all samples

Usage

1
2
3
4
5
6
7
shattered.map.plot(
  chromo.regs.obj,
  conf = "hc",
  genome.v = "hg19",
  freq.cut = NULL,
  add.legend = "top"
)

Arguments

chromo.regs.obj

(chromo.regs) An object of class chromo.regs

conf

(character) either 'hc' for high confidence objects or else all included

genome.v

(hg19 or hg38) reference genome version to draw chromosome limits and centromeres

freq.cut

the value to draw an horizontal line; use 'freq.p.test' to obtain a threshold for statisticaly significant hot spots

add.legend

the position of the legend in the plot; if null, no legend will be draw

Value

a plot into open device

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(circlize)

## validate input data.frames
cnv <- validate.cnv(segdat_lung_ccle)
svc <- validate.svc(svdat_lung_ccle)

## obtain shattered regions
chromo.regs.obj <- shattered.regions(cnv,svc)

shattered.map.plot(chromo.regs.obj)

gonzolgarcia/svpluscnv documentation built on March 4, 2020, 10:06 a.m.