SPLOT - winkusch/Easy2 GitHub Wiki

Create a scatterplot of columns in the GWA data-set.

FUNCTION PARAMETER DEFAULT DESCRIPTION
SPLOT --rcdSPlotX R-Code expression to define the x-values.
SPLOT --rcdSPlotY R-Code expression to define the y-values.
SPLOT --strDefaultColour black default colour
SPLOT --numDefaultSymbol 20 defulat symbol
SPLOT --numDefaultCex 1 default cex
SPLOT --numDefaultLwd 1
SPLOT --arcdColourCrit array of R code expressions with criteria for varying colours
SPLOT --astrColour array of colours according to criteria
SPLOT --astrColourLegend
SPLOT --arcdSymbolCrit array of R code expressions with criteria for varying symbols
SPLOT --anumSymbol -1 array of symbol values (R's pch parameter)
SPLOT --astrSymbolLegend
SPLOT --arcdCexCrit array of cex values according to criteria
SPLOT --anumCex -1 array of symbol sizes (R's cex parameter)
SPLOT --arcdLwdCrit
SPLOT --anumLwd -1 array of line width
SPLOT --strAxes "X-/Y-axes alignment. Define plotting thresholds for x-axis [x0,x1] and y-axis [y0,y1]. Optional. Default: lim(NULL,NULL,NULL,NULL) Please use one of: equal/4quad/4quadequal/zeroequal/lim(x0,x1,y0,y1). (i) equal: Same x- and y-axis limits: x0=y0 and x1=y1; (ii) 4quad: All 4 quadrants will be drawn: x0=-x1 and y0=-y1; (iii) 4quadequal: All 4 quadrants will be drawn with the same x- and y-axis limits: x-axes limits == y-axes limits with lim=max(abs(x),abs(y)); (iv) zeroequal: x0=y0=0 and x1=y1=max(x,y); (v) lim(x0,x1,y0,y1): Define x- and y-axes limits (use NULL for default value)
SPLOT --strXlab Plot x axis label
SPLOT --strYlab Plot y axis label
SPLOT --strTitle Plot title
SPLOT --blnLegend FALSE logical whether legend should be added
SPLOT --arcdAdd2Plot array of R code expressions that will be added to the plot (eg text(…))
SPLOT --strMode singleplot plot mode (singleplot or subplot)
SPLOT --strFormat png graphic file format
SPLOT --rcdExclude
SPLOT --numCexAxis 1 cex for axis
SPLOT --numCexLab 1 cex for lables
SPLOT --numWidth 640, Width of the plot in pixel.
SPLOT --numHeight 640, Height of the plot in pixel.
SPLOT --anumParMar c(5.1,4.1,4.1,2.1) array of four 'par' parameters
SPLOT --anumParMgp c(3,1,0) array of three 'mgp' parameters
SPLOT --strParBty o plot param 'bty'
SPLOT --blnGrid TRUE
SPLOT --strPlotName sp plot name (added to file name to indicate this plot)
SPLOT --blnPlotCI FALSE logical whether confidence interval should be added
SPLOT --rcdCIlengthX
SPLOT --rcdCIlengthY
SPLOT --strCIColour grey confidence interval colour
SPLOT --blnAxesLines TRUE
SPLOT --numParLas 0

Example:
SPLOT --rcdSPlotX Freq
--rcdSPlotY -log10(Pvalue)
--strDefaultColour black
--numDefaultSymbol 20
--arcdColourCrit N<110000;N<80000
--astrColour purple;red
--arcdSymbolCrit (Freq<=0.05|Freq>=0.95);(Freq<=0.01|Freq>=0.99)
--anumSymbol 0;1
--strAxes lim(0,NULL,0,NULL)
--strTitle PoverFreq
--arcdAdd2Plot abline(v=0.05);abline(v=0.95);abline(h=-log10(5e-8))

⚠️ **GitHub.com Fallback** ⚠️