Description Usage Arguments Value Examples
View source: R/circular.plot.r
Circos plot combining segmentation and SV calls
1 2 3 4 5 6 7 8 9  | circ.wg.plot(
  cnv,
  svc,
  sample.id = NULL,
  lrr.pct = 0.2,
  lrr.max = 4,
  genome.v = "hg19",
  chrlist = NULL
)
 | 
cnv | 
 (S4) an object of class svcnvio containing data type 'cnv' validated by validate.cnv  | 
svc | 
 (S4) an object of class svcnvio containing data type 'svc' validated by validate.svc  | 
sample.id | 
 (character) the id of the sample to be plotted  | 
lrr.pct | 
 (numeric) copy number change between 2 consecutive segments: i.e (default) cutoff = 0.2 represents a fold change of 0.8 or 1.2  | 
lrr.max | 
 (numeric) maximum CNV to be plotted  | 
genome.v | 
 (hg19 or h38) reference genome version to draw chromosome limits and centromeres  | 
chrlist | 
 (character) vector containing chromosomes to plot; by default all chromosomes plotted  | 
circos plot into open device
1 2 3 4 5 6 7 8  | ## validate input data.frames
cnv <- validate.cnv(segdat_lung_ccle)
svc <- validate.svc(svdat_lung_ccle)
## select a random sample id
id <-  sample(intersect(cnv$sample,svc$sample))[1]
circ.wg.plot(cnv, svc, sample.id=id)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.