Gallery: CPC-GENE Scatterplot directed graph

### PREAMBLE ######################################################################################
library(BoutrosLab.plotting.general);
 
# read in data
all.data <- read.table(file='scatterplot_directed_graph_data_BPG.tsv', header=TRUE, sep='\t', stringsAsFactors=FALSE);
 
### CREATE SCATTERPLOT ############################################################################
 
create.scatterplot(
   formula=y~x,
   data=data.frame(x=all.data$x.coord, y=all.data$y.coord),
   filename="scatterplot_directed_graph_BPG.tiff",
   type='o',
   groups=all.data$groups,
   width=9,
   resolution=1200,
   pch=all.data$point.sym,
   col=all.data$point.col,
   cex=4,
   add.text=TRUE,
   text.labels=all.data$text.labels,
   text.x=all.data$text.x,
   text.y=all.data$text.y,
   text.cex=all.data$text.cex,
   xaxis.lab=NULL,
   yaxis.lab=NULL,
   xaxis.tck=0,
   yaxis.tck=0,
   xlab.label="",
   ylab.label=""
   );

Created by Pretty R at inside-R.org