Layout Chart

A layout approach partitions a plot into a matrix of panels. Each panel shows a different subset of the data.



Color Themes


{
   "broadcast":"true",
   "colorBy":"Species",
   "graphType":"Scatter2D",
   "layoutAdjust":"true",
   "scatterPlotMatrix":"true",
   "theme":"CanvasXpress"
}
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/cX-irist-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  broadcast=TRUE,
  colorBy="Species",
  graphType="Scatter2D",
  layoutAdjust=TRUE,
  scatterPlotMatrix=TRUE,
  theme="CanvasXpress"
)