Package OmicCircos. R topics documented: November 17, Version Date

Similar documents
Package OmicCircos. R topics documented: November 1, Version Date Title High-quality circular visualization of omic data

Package NetWeaver. January 11, 2017

Statistical Programming with R

Package macorrplot. R topics documented: October 2, Title Visualize artificial correlation in microarray data. Version 1.50.

Package copynumber. November 21, 2017

DC2 File Format. 1. Header line 2. Entity line 3. Point line 4. String line

IST 3108 Data Analysis and Graphics Using R Week 9

Package r.jive. R topics documented: April 12, Type Package

Analyzing Genomic Data with NOJAH

Package quantsmooth. R topics documented: May 4, Type Package

Package areaplot. October 18, 2017

Using the RCircos Package

- 1 - Web page:

PROMO 2017a - Tutorial

Package NGScopy. April 10, 2015

Click on "+" button Select your VCF data files (see #Input Formats->1 above) Remove file from files list:

You will be re-directed to the following result page.

Package generxcluster

Package conumee. February 17, 2018

Introduction for heatmap3 package

Plotting: An Iterative Process

Package VSE. March 21, 2016

Package pvclust. October 23, 2015

Package r2d2. February 20, 2015

Package lol. R topics documented: December 13, Type Package Title Lots Of Lasso Version Date Author Yinyin Yuan

Introduction Basics Simple Statistics Graphics. Using R for Data Analysis and Graphics. 4. Graphics

Preliminary Figures for Renormalizing Illumina SNP Cell Line Data

Martin Krzywinski. mkweb.bcgsc.ca. /circos. mkweb.bcgsc.ca/circos.

Package TROM. August 29, 2016

Package CONOR. August 29, 2013

Package dmrseq. September 14, 2018

Package iclusterplus

Generating Vectors Overview

Package multihiccompare

Package igc. February 10, 2018

Package MVisAGe. May 10, 2018

Package FCGR. October 13, 2015

Package SOFIA. January 22, 2017

Tutorial. RNA-Seq Analysis of Breast Cancer Data. Sample to Insight. November 21, 2017

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /6/ /13

Introduction to Systems Biology II: Lab

Package KEGGprofile. February 10, 2018

LDheatmap (Version ): Example of Adding Tracks

Package GSCA. October 12, 2016

Package GSCA. April 12, 2018

Package visualizationtools

Hierarchical clustering

Package BayesPeak. R topics documented: September 21, Version Date Title Bayesian Analysis of ChIP-seq Data

Package DMCHMM. January 19, 2019

Package ecolitk. November 2, 2018

ChIP-Seq Tutorial on Galaxy

Package Daim. February 15, 2013

Insight: Measurement Tool. User Guide

Package MFDFA. April 18, 2018

Package bdots. March 12, 2018

Table of contents Genomatix AG 1

Exploring cdna Data. Achim Tresch, Andreas Buness, Tim Beißbarth, Wolfgang Huber

Package TxRegInfra. March 17, 2019

Package cgh. R topics documented: February 19, 2015

RightFind Advisor User Guide

Package CNVrd2. March 18, 2019

Grade 6 Math Curriculum Sequence School Year

Package OutlierDC. R topics documented: February 19, 2015

Package pcagopromoter

Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney

ChIP-seq hands-on practical using Galaxy

POMO User Guide. 1. General Purpose. 2. Browser Recommendations

Package STROMA4. October 22, 2018

Package comphclust. February 15, 2013

Package DPBBM. September 29, 2016

Package comphclust. May 4, 2017

Tutorial for the WGCNA package for R II. Consensus network analysis of liver expression data, female and male mice. 1. Data input and cleaning

Exploring cdna Data. Achim Tresch, Andreas Buness, Tim Beißbarth, Wolfgang Huber

Package cregulome. September 13, 2018

Package XMRF. June 25, 2015

Relationship Between BED and WIG Formats

The Gviz User Guide. Contents. Florian Hahne 1. Edited: January 2014; Compiled: December 12, Introduction Basic Features...

Package sizemat. October 19, 2018

Package LncPath. May 16, 2016

Circular Visualization in R. Zuguang Gu last revised on

Package pandar. April 30, 2018

Package multigraph. R topics documented: November 1, 2017

CircosVCF workshop, TAU, 9/11/2017

Annotating a single sequence

Package les. October 4, 2013

The nor1mix Package. August 3, 2006

Package SVM2CRM. R topics documented: May 1, Type Package

Package BubbleTree. December 28, 2018

Exploring cdna Data. Achim Tresch, Andreas Buness, Wolfgang Huber, Tim Beißbarth

Package saascnv. May 18, 2016

Package ic10. September 23, 2015

Package Repliscope. February 6, 2019

Statistical Programming Camp: An Introduction to R

Package FunciSNP. November 16, 2018

Package pca3d. February 17, 2017

AGA User Manual. Version 1.0. January 2014

Package CopywriteR. April 20, 2018

Package SNPchip. May 3, 2018

Package polyphemus. February 15, 2013

average<-(intervalend+intervalstart)/(2) xright=xleft+width ytop=intervalheight/maxnumgenesincluster

Transcription:

Version 1.16.0 Date 2015-02-23 Package OmicCircos November 17, 2017 Title High-quality circular visualization of omics data Author Maintainer Ying Hu <yhu@mail.nih.gov> biocviews Visualization,Statistics,Annotation Depends R (>= 2.14.0), methods,genomicranges OmicCircos is an R application and package for generating highquality circular plots for omics data. License GPL-2 NeedsCompilation no R topics documented: OmicCircos-package.................................... 2 circos............................................ 2 seganglepo......................................... 5 seganglepo-methods.................................... 6 sim.circos.......................................... 7 TCGA.BC.cnv.2k.60.................................... 9 TCGA.BC.fus........................................ 9 TCGA.BC.gene.exp.2k.60................................. 9 TCGA.BC.sample60.................................... 9 TCGA.BC_Her2_cnv_exp................................. 10 TCGA.PAM50_genefu_hg18................................ 10 UCSC.chr.colors...................................... 10 UCSC.hg18......................................... 10 UCSC.hg18.chr....................................... 11 UCSC.hg19......................................... 11 UCSC.hg19.chr....................................... 11 UCSC.mm10........................................ 11 UCSC.mm10.chr...................................... 12 UCSC.mm9......................................... 12 UCSC.mm9.chr....................................... 12 Index 13 1

2 circos OmicCircos-package OmicCircos package OmicCircos is for generating high-quality circular plots for omics data. References OmicCircos: an R package for simple and circular visualization of omics data. Cancer Inform. 2014 Jan 16;13:13-20. doi: 10.4137/CIN.S13495. ecollection 2014. PMID: 24526832 [PubMed] PMCID: PMC3921174 circos draw circular Usage This is the main function of OmicCircos to draw circular plots. Arguments circos(mapping=mapping, xc=400, yc=400, R=400, W=W, cir="", type="n", col.v=3, B=FALSE, print.chr.lab=true, col.bar=false, col.bar.po = "topleft", cluster=false, order=null, scale=false, cutoff = "n", zoom="", cex=1, lwd=1, col=rainbow(10, alpha=0.8)[7], side="") mapping data frame or matrix containing mapping information and values. Column 1: the segment or chromosome ID; column 2: the position; column 3: the position label (optional) or the value and additional columns are the values. such as gene expression and copy number. Missing values are allowed and will be ignored. xc yc R W cir type integer, the circle center x coordinate integer, the circle center y coordinate integer, the circle radius integer, the circle width genome reference name (hg19, mm10...) or data frame from seganglepo function or data frame from user s mapping data. the type is one of "arc": arcs with variable radii "arc2": arcs with the fixed radius "b": bar charts

circos 3 col.v B print.chr.lab col.bar col.bar.po cluster order scale cutoff zoom "b2": bar charts (opposite side of cutoff value) "b3": bar charts with the same height "box": box plots "chr": plots of chromosomes or segments "chr2": plots of chromosomes or segments of partial genome "ci95": 95% confidence interval lines "h": histograms "heatmap": heatmaps "heatmap2": heatmaps with genomic coordinates "hightlight.link": link lines for zoom "hist": polygons for multiple samples "hl": highlight "l": lines "label": gene labels or text annotations "label2": gene labels or text annotations with the same circumference coordinate "lh": horizontal lines "link.pg": link polygons based on Bezier curve "link": link lines based on Bezier curve "link2": link lines with smaller intra-chromosome arcs "ls": lines in stair steps "ml": multiple lines (for more than 1 samples) "ml2": multiple horizontal lines "ml3": multiple lines in stair steps "ms": multiple points "quant75": 75% quantile lines "quant90": 90% quantile lines "s": dots "s2": dots with the fixed radius "s.sd": dots proportional to standard deviation "ss": dot sizes proportional to the values "sv": dot sizes proportional to the variances column number. The column value will be displayed. If type=heatmap, the number is as the first column. logical: draw background? logical: draw chromosomes or segment labels? logical: draw col.bar? It is for type=heatmap. draw col.bar position, e.g. topleft, bottomright. logical: cluster and draw Dendrogram at left coner? It is for type=heatmap only. vector: chromosome or segment order logical: draw scale? numeric: for multiple samples vector containing six values: start chromosome, end chromosome, start position, end position, start angle and end angle

4 circos lwd cex col side...... numeric: line width numeric: fond or point sizes character or vector: color names character (in or out): for type=label(2) only References OmicCircos: an R package for simple and circular visualization of omics data. Cancer Inform. 2014 Jan 16;13:13-20. doi: 10.4137/CIN.S13495. ecollection 2014. PMID: 24526832 [PubMed] PMCID: PMC3921174 Examples library(omiccircos); options(stringsasfactors = FALSE); set.seed(1234); ## initial values for simulation data seg.num <- 10; ind.num <- 20; seg.po <- c(20:50); link.num <- 10; link.pg.num <- 4; ## output simulation data sim.out <- sim.circos(seg=seg.num, po=seg.po, ind=ind.num, link=link.num, link.pg=link.pg.num); seg.f <- sim.out$seg.frame; seg.v <- sim.out$seg.mapping; link.v <- sim.out$seg.link link.pg.v <- sim.out$seg.link.pg seg.num <- length(unique(seg.f[,1])); ## select segments seg.name <- paste("chr", 1:seg.num, sep=""); db <- seganglepo(seg.f, seg=seg.name); colors <- rainbow(seg.num, alpha=0.5); pdffile <- "OmicCircos4vignette1.pdf"; pdf(pdffile, 8, 8); par(mar=c(2, 2, 2, 2)); plot(c(1,800), c(1,800), type="n", axes=false, xlab="", ylab="", main=""); circos(r=400, cir=db, type="chr", col=colors, print.chr.lab=true, W=4, scale=true); circos(r=360, cir=db, W=40, mapping=seg.v, col.v=3, type="l", B=TRUE, col=colors[1], lwd=2, scale=true); circos(r=320, cir=db, W=40, mapping=seg.v, col.v=3, type="ls", B=FALSE, col=colors[9], lwd=2, scale=true); circos(r=280, cir=db, W=40, mapping=seg.v, col.v=3, type="lh", B=TRUE, col=colors[7], lwd=2, scale=true);

seganglepo 5 circos(r=240, cir=db, W=40, mapping=seg.v, col.v=19, type="ml", B=FALSE, col=colors, lwd=2, scale=true); circos(r=200, cir=db, W=40, mapping=seg.v, col.v=19, type="ml2", B=TRUE, col=colors, lwd=2); circos(r=160, cir=db, W=40, mapping=seg.v, col.v=19, type="ml3", B=FALSE, cutoff=5, lwd=2); circos(r=150, cir=db, W=40, mapping=link.v, type="link", lwd=2, col=colors[c(1,7)]); circos(r=150, cir=db, W=40, mapping=link.pg.v, type="link.pg", lwd=2, col=sample(colors,link.pg.num)); dev.off() ## Not run: demo(omiccircos4vignette1) demo(omiccircos4vignette2) demo(omiccircos4vignette3) demo(omiccircos4vignette4) demo(omiccircos4vignette5) demo(omiccircos4vignette6) demo(omiccircos4vignette7) demo(omiccircos4vignette8) demo(omiccircos4vignette9) demo(omiccircos4vignette10) ## End(Not run) seganglepo generate circular skeleton data from user s mapping data This function creates a data frame and converts the segment pointer positions (linear coordinates) into angle values (the angle based coordinates along circumference). In the data frame, column 1 is unique segment or chromosome names; column 2 is the start angle; column 3 is the end angle; column 4 is the accumulative start position; column 5 is the accumulative end position; column 6 is the start position and column 7 is the end position for each segment or chromosome. Usage seganglepo(seg.dat=seg.dat, seg=seg, angle.start=angle.start, angle.end=angle.end); Arguments seg.dat seg angle.start angle.end the segment data should be a matrix or a data frame: column 1 is the segment name or chromosome name; column 2 is the segment start; column 3 is the segment end; column 4 is segment name2 (optional); and column 5 is segment description (optional). vector: segment names (optional) numeric: plot start angle, angle.start=0 by default (optional) numeric: plot end angle, angle.end=360 by default (optional)

6 seganglepo-methods References OmicCircos: an R package for simple and circular visualization of omics data. Cancer Inform. 2014 Jan 16;13:13-20. doi: 10.4137/CIN.S13495. ecollection 2014. PMID: 24526832 [PubMed] PMCID: PMC3921174 Examples library(omiccircos); options(stringsasfactors = FALSE); set.seed(1234); ## initial values for simulation data seg.num <- 10; ind.num <- 20; seg.po <- c(20:50); link.num <- 10; link.pg.num <- 4; ## output simulation data sim.out <- sim.circos(seg=seg.num, po=seg.po, ind=ind.num, link=link.num, link.pg=link.pg.num); seg.f <- sim.out$seg.frame; seg.v <- sim.out$seg.mapping; link.v <- sim.out$seg.link link.pg.v <- sim.out$seg.link.pg seg.num <- length(unique(seg.f[,1])); ## select segments seg.name <- paste("chr", 1:seg.num, sep=""); db <- seganglepo(seg.f, seg=seg.name); colors <- rainbow(seg.num, alpha=0.5); pdffile <- "OmicCircos4vignette2.pdf"; pdf(pdffile, 8, 8); par(mar=c(2, 2, 2, 2)); plot(c(1,800), c(1,800), type="n", axes=false, xlab="", ylab="", main=""); circos(r=400, type="chr", cir=db, col=colors, print.chr.lab=true, W=4, scale=true); circos(r=360, cir=db, W=40, mapping=seg.v, col.v=8, type="box", B=TRUE, col=colors[1], lwd=0.1, scale=true) circos(r=320, cir=db, W=40, mapping=seg.v, col.v=8, type="hist", B=TRUE, col=colors[3], lwd=0.1, scale=true) circos(r=280, cir=db, W=40, mapping=seg.v, col.v=8, type="ms", B=TRUE, col=colors[7], lwd=0.1, scale=true); circos(r=240, cir=db, W=40, mapping=seg.v, col.v=3, type="h", B=FALSE, col=colors[2], lwd=0.1); circos(r=200, cir=db, W=40, mapping=seg.v, col.v=3, type="s", B=TRUE, col=colors, lwd=0.1); circos(r=160, cir=db, W=40, mapping=seg.v, col.v=3, type="b", B=FALSE, col=colors, lwd=0.1); circos(r=150, cir=db, W=40, mapping=link.v, type="link", lwd=2, col=colors[c(1,7)]); circos(r=150, cir=db, W=40, mapping=link.pg.v, type="link.pg", lwd=2, col=sample(colors,link.pg.num)); dev.off() seganglepo-methods ~~ Methods for Function seganglepo ~~

sim.circos 7 ~~ Methods for function seganglepo ~~ Methods signature(seg.dat = "data.frame") signature(seg.dat = "GRanges") References OmicCircos: an R package for simple and circular visualization of omics data. Cancer Inform. 2014 Jan 16;13:13-20. doi: 10.4137/CIN.S13495. ecollection 2014. PMID: 24526832 [PubMed] PMCID: PMC3921174 sim.circos circular data simulation This function generates data for user to test the circos functions Usage sim.circos(seg=10, po=c(20,50), ind=10, link=10, link.pg=10); Arguments seg integer, the segment number. The default is 10. po vector, the segment positions. The default is c(20:50) ind integer, the number of samples. The default is 10. link integer, the number of links. The default is 10. link.pg integer, the number of link ploygons. The default is 10. Value sim.circos returns a list containing at least the following components: seg.frame seg.mapping seg.link seg.link.pg data.frame, segment data data.frame, mapping data data.fame, link data data.frame, link polygon data

8 sim.circos References OmicCircos: an R package for simple and circular visualization of omics data. Cancer Inform. 2014 Jan 16;13:13-20. doi: 10.4137/CIN.S13495. ecollection 2014. PMID: 24526832 [PubMed] PMCID: PMC3921174 Examples library(omiccircos); options(stringsasfactors = FALSE); set.seed(1234); ## initial values for simulation data seg.num <- 10; ind.num <- 20; seg.po <- c(20:50); link.num <- 10; link.pg.num <- 4; ## output simulation data sim.out <- sim.circos(seg=seg.num, po=seg.po, ind=ind.num, link=link.num, link.pg=link.pg.num); seg.f <- sim.out$seg.frame; seg.v <- sim.out$seg.mapping; link.v <- sim.out$seg.link link.pg.v <- sim.out$seg.link.pg seg.num <- length(unique(seg.f[,1])); ## select segments seg.name <- paste("chr", 1:seg.num, sep=""); db <- seganglepo(seg.f, seg=seg.name); colors <- rainbow(seg.num, alpha=0.5); pdffile <- "OmicCircos4vignette3.pdf"; pdf(pdffile, 8, 8); par(mar=c(2, 2, 2, 2)); plot(c(1,800), c(1,800), type="n", axes=false, xlab="", ylab="", main=""); circos(r=400, type="chr", cir=db, col=colors, print.chr.lab=true, W=4, scale=true); circos(r=360, cir=db, W=40, mapping=seg.v, col.v=8, type="quant90", B=FALSE, col=colors, lwd=2, scale=true); circos(r=320, cir=db, W=40, mapping=seg.v, col.v=3, type="sv", B=TRUE, col=colors[7], scale=true); circos(r=280, cir=db, W=40, mapping=seg.v, col.v=3, type="ss", B=FALSE, col=colors[3], scale=true); circos(r=240, cir=db, W=40, mapping=seg.v, col.v=8, type="heatmap", lwd=3); circos(r=200, cir=db, W=40, mapping=seg.v, col.v=3, type="s.sd", B=FALSE, col=colors[4]); circos(r=160, cir=db, W=40, mapping=seg.v, col.v=3, type="ci95", B=TRUE, col=colors[4], lwd=2); circos(r=150, cir=db, W=40, mapping=link.v, type="link", lwd=2, col=colors[c(1,7)]); circos(r=150, cir=db, W=40, mapping=link.pg.v, type="link.pg", lwd=2, col=sample(colors,link.pg.num)); the.col1=rainbow(10, alpha=0.5)[3]; highlight <- c(160, 410, 6, 2, 6, 10, the.col1, the.col1); circos(r=110, cir=db, W=40, mapping=highlight, type="hl", lwd=1); the.col1=rainbow(10, alpha=0.1)[3]; the.col2=rainbow(10, alpha=0.5)[1]; highlight <- c(160, 410, 3, 12, 3, 20, the.col1, the.col2); circos(r=110, cir=db, W=40, mapping=highlight, type="hl", lwd=2);

TCGA.BC.cnv.2k.60 9 dev.off() TCGA.BC.cnv.2k.60 copy number data of TCGA Breast Cancer Examples of TCGA Breast Cancer DNA copy number data from 500 genes and 60 samples. TCGA.BC.fus TCGA Breast Cancer gene fusion data. Examples of TCGA Breast Cancer gene fusion data from 18 fusion proteins TCGA.BC.gene.exp.2k.60 TCGA BRCA expression data Examples of TCGA Breast Cancer expression data from 500 genes and 60 samples TCGA.BC.sample60 TCGA BRCA Sample names and subtypes Names and subtypes of 60 samples for TCGA Breast Cancer expression and copy number data

10 UCSC.hg18 TCGA.BC_Her2_cnv_exp TCGA BRCA expression and cnv association The p-values of associations between the TCGA Breast Cancer copy number and gene expression data. TCGA.PAM50_genefu_hg18 BRCA PAM50 gene list (hg18) Breast cancer PAM 50 gene list (hg18). UCSC.chr.colors chromosome banding colors Chromosome banding colors from UCSC Genome Browser UCSC.hg18 human hg18 circumference coordinates Human hg18 circumference coordinates (angles) are calculated from hg18 chromosome size data using the seqanglpo function. The chromosome size data stored in UCSC.hg18.chr.

UCSC.hg18.chr 11 UCSC.hg18.chr human hg18 segment data. Human hg18 chromome size and binding data obtained from UCSC Genome Browser cytogenetics table. UCSC.hg19 human hg19 circumference coordinates Human hg19 circumference coordinates (angles) are calculated from hg19 chromosome size data using the seqanglpo function. The chromosome size data stored in UCSC.hg19.chr. UCSC.hg19.chr human hg19 segment data Human hg19 chromome size and binding data obtained from UCSC Genome Browser cytogenetics table. UCSC.mm10 mouse mm10 circumference coordinates Mouse mm10 circumference coordinates (angles) are calculated from mm10 chromosome size data using the seqanglpo function. The mouse chromosome size data stored in UCSC.mm10.chr.

12 UCSC.mm9.chr UCSC.mm10.chr mouse mm10 segment data. Mouse mm10 chromsome size and binding data obtained from UCSC Genome Browser cytogenetics table. UCSC.mm9 mouse mm9 circumference coordinates Mouse mm9 circumference coordinates (angles) are calculated from mm9 chromosome size data using the seqanglpo function. The mouse chromosome size data stored in UCSC.mm9.chr. UCSC.mm9.chr mouse mm9 segment data. Mouse mm9 chromsome size and binding data obtained from UCSC Genome Browser cytogenetics table.

Index Topic \textasciitilde\textasciitilde other possible keyword(s) \textasciitilde\textasciitilde seganglepo-methods, 6 Topic methods seganglepo-methods, 6 circos, 2 OmicCircos (OmicCircos-package), 2 OmicCircos-package, 2 seganglepo, 5 seganglepo,data.frame-method (seganglepo-methods), 6 seganglepo,granges-method (seganglepo-methods), 6 seganglepo-methods, 6 sim.circos, 7 TCGA.BC.cnv.2k.60, 9 TCGA.BC.fus, 9 TCGA.BC.gene.exp.2k.60, 9 TCGA.BC.sample60, 9 TCGA.BC_Her2_cnv_exp, 10 TCGA.PAM50_genefu_hg18, 10 UCSC.chr.colors, 10 UCSC.hg18, 10 UCSC.hg18.chr, 11 UCSC.hg19, 11 UCSC.hg19.chr, 11 UCSC.mm10, 11 UCSC.mm10.chr, 12 UCSC.mm9, 12 UCSC.mm9.chr, 12 13