library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area5-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorScheme="Prism",
  graphOrientation="vertical",
  graphType="Area",
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  title="Area graph with one series",
  titleScaleFontFactor=1.2,
  xAxis=list("Value"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area5-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorScheme="Prism",
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  title="Area graph with one series - Spline",
  titleScaleFontFactor=1.2,
  xAxis=list("Value"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area6-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorScheme="Behance",
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  objectColorTransparency=0.7,
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  subtitle="random data",
  title="Area graph with three overlapping data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Series A", "Series B", "Series C"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area6-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="LastAirBenderWater",
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  title="Area graph with three stacked data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Series A", "Series B", "Series C"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area6-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="percent",
  colorScheme="Prism",
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  title="Area graph with three data series in percentage",
  titleScaleFontFactor=1.2,
  xAxis=list("Series A", "Series B", "Series C"),
  xAxisTitle="Percent of Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area6-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorScheme="Behance",
  filterData=list(list("guess", FALSE, "different", list("Series C"))),
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  objectColorTransparency=0.7,
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  subtitle="Filtered data",
  title="Area graph with three overlapping data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Series A", "Series B", "Series C"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area6-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="LastAirBenderWater",
  filterData=list(list("guess", FALSE, "exact", list("Series B"))),
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  smpTextRotate=90,
  smpTitle="Month / First Quarters of 2024",
  subtitle="Filtered data",
  title="Area graph with three stacked data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Series A", "Series B", "Series C"),
  xAxisTitle="Revenue (in Millions)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area7-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/r/cX-area7-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Series",
  colorScheme="GameOfThronesStannis",
  graphType="Area",
  legendColumns=3,
  legendPosition="top",
  lineType="spline",
  subtitle="skiny-long format",
  title="Area graph with three stacked data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Month"),
  xAxisTitle="Revenue (in Millions)",
  yAxis=list("Value"),
  yAxisTitle="Months / First Quarters of 2024"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area7-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/r/cX-area7-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Series",
  colorScheme="GameOfThronesStannis",
  filterData=list(list("guess", "Series", "not like", list("Series A"))),
  graphType="Area",
  legendColumns=3,
  legendPosition="top",
  lineType="spline",
  subtitle="skiny-long format - Filtered",
  title="Area graph with three stacked data series",
  titleScaleFontFactor=1.2,
  xAxis=list("Month"),
  xAxisTitle="Revenue (in Millions)",
  yAxis=list("Value"),
  yAxisTitle="Months / First Quarters of 2024"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="Area",
  objectColorTransparency=0.7,
  smpLabelInterval=20,
  smpTextRotate=45,
  smpTitle="Year",
  subtitle="gcookbook - uspopage",
  title="Age distribution of population in the United States",
  xAxis=list("<5", "5-14", "15-24", "25-34", "35-44", "45-54", "55-64", ">64"),
  xAxisTitle="Number of People (1000's)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="Blues",
  graphOrientation="vertical",
  graphType="Area",
  smpLabelInterval=20,
  smpTextRotate=45,
  smpTitle="Year",
  subtitle="gcookbook - uspopage",
  title="Age distribution of population in the United States",
  xAxis=list("<5", "5-14", "15-24", "25-34", "35-44", "45-54", "55-64", ">64"),
  xAxisTitle="Number of People (1000's)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="percent",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Area",
  smpLabelInterval=20,
  smpTextRotate=45,
  smpTitle="Year",
  subtitle="gcookbook - uspopage",
  title="Age distribution of population in the United States",
  xAxis=list("<5", "5-14", "15-24", "25-34", "35-44", "45-54", "55-64", ">64"),
  xAxisTitle="Number of People (1000's)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="ColorSpectrum",
  colorSpectrum=list("blue", "cyan", "yellow", "red"),
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  objectBorderColor=FALSE,
  objectColorTransparency=0.3,
  showLegend=FALSE,
  showSampleNames=FALSE,
  title="Steam Plot",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30"),
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="ColorSpectrum",
  colorSpectrum=list("blue", "cyan", "yellow", "red"),
  graphOrientation="vertical",
  graphType="Area",
  lineType="spline",
  objectBorderColor=FALSE,
  objectColorTransparency=0.6,
  showLegend=FALSE,
  showSampleNames=FALSE,
  title="Data Mountain",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30"),
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatterArea-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/r/cX-scatterArea-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="g",
  colorScheme="GGPlot",
  graphType="Area",
  theme="GGPlot",
  xAxis=list("x"),
  yAxis=list("y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fontana-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/r/cX-fontana-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="country",
  colors=list("rgb(0,63,92)", "rgb(47,75,124)", "rgb(102,81,145)", "rgb(160,81,149)", "rgb(212,80,135)", "rgb(249,93,106)", "rgb(255,124,67)", "rgb(255,166,0)"),
  dataPointSizeScaleFactor=0,
  graphType="Area",
  legendColumns=3,
  legendPosition="bottom",
  panelBackgroundColor="rgb(222,222,222)",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("total_wealth"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area8-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="AreaLine",
  lineThickness=3,
  lineType="spline",
  objectColorTransparency=0.5,
  setMaxX=50,
  setMaxX2=50,
  smpTextRotate=90,
  smpTitle="Month",
  xAxis=list("Series A", "Series B", "Series C"),
  xAxis2=list("Series D", "Series E"),
  xAxis2Show=TRUE,
  xAxisShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area8-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  graphOrientation="vertical",
  graphType="AreaLine",
  lineThickness=3,
  lineType="spline",
  setMaxX=60,
  setMaxX2=60,
  smpTextRotate=90,
  smpTitle="Month",
  xAxis=list("Series A", "Series B", "Series C"),
  xAxis2=list("Series D", "Series E"),
  xAxis2Show=TRUE,
  xAxisShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area8-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("rgb(160,81,149)", "rgb(47,75,124)", "rgb(102,81,145)", "rgb(255,166,0)", "rgb(0,63,92)", "rgb(160,81,149)"),
  graphOrientation="vertical",
  graphType="AreaLine",
  legendPosition="topRight",
  lineThickness=3,
  lineType="spline",
  setMinX=0,
  setMinX2=0,
  smpTextRotate=90,
  smpTitle="Month",
  xAxis=list("Series A"),
  xAxis2=list("Series D"),
  xAxis2Show=TRUE,
  xAxis2Title="Value2",
  xAxisShow=TRUE,
  xAxisTitle="Value"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-area-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  areaType="stacked",
  colorScheme="ColorSpectrum",
  colorSpectrum=list("blue", "cyan", "yellow", "red"),
  graphOrientation="vertical",
  graphType="AreaLine",
  legendPosition="topRight",
  lineThickness=3,
  lineType="spline",
  smpLabelInterval=20,
  smpTextRotate=45,
  smpTitle="Year",
  subtitle="gcookbook - uspopage",
  title="Age distribution of population in the United States",
  xAxis=list("<5", "5-14", "15-24", "25-34"),
  xAxis2=list("35-44", "45-54", "55-64", ">64"),
  xAxis2Show=TRUE,
  xAxisShow=TRUE,
  xAxisTitle="Number of People (1000's)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stBarOneSeries-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="Bar",
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="Categories",
  title="Bar graph with a single series",
  xAxis=list("Var 1"),
  xAxisTitle="Var 1"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stBarTwoSeries-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  dataTextColor="#FFFFFF",
  dataValuesPosition="inside",
  graphOrientation="horizontal",
  graphType="Bar",
  showDataValues=TRUE,
  smpTextRotate=90,
  smpTitle="Categories",
  title="Bar graph showing data values",
  xAxis=list("Var 1", "Var 2"),
  xAxisTitle="Value"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stBarThreeSeries-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="Bar",
  legendColumns=3,
  legendPosition="bottom",
  smpTextRotate=90,
  smpTitle="Categories",
  title="Bar graph with multiple series",
  xAxis=list("Var 1", "Var 2", "Var 3"),
  xAxisTitle="Value"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-iris-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-iris-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  dataTextScaleFontFactor=0.8,
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("Species"),
  legendColumns=2,
  legendPosition="bottom",
  showDataValues=TRUE,
  smpTextRotate=90,
  smpTitle="Species",
  title="Iris flower data set",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-iris-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-iris-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("Species"),
  legendColumns=2,
  legendPosition="bottom",
  smpTextRotate=90,
  smpTitle="Species",
  splitSamplesBy="Species",
  theme="blackAndWhite",
  title="Iris flower data set",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  plotByVariable=TRUE,
  smpLabelInterval=2,
  smpTextRotate=90,
  smpTitle="Samples",
  title="Data Organized by variables",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-simple-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-simple-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Drug Sensitivity",
  decorations=list(line=list(list(align="left", color="rgb(255,0,0)", label="Cutoff", value=50, width=2))),
  graphOrientation="vertical",
  graphType="Bar",
  smpTextRotate=90,
  smpTitle="Cell Lines",
  title="Sensitivity of cell lines to different drugs",
  xAxis=list("V1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-simple-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-simple-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="IC50",
  decorations=list(line=list(list(align="left", color="rgb(255,0,0)", label="Cutoff", value=50, width=2))),
  graphOrientation="vertical",
  graphType="Bar",
  smpOverlays=list("Drug Sensitivity"),
  smpTextRotate=90,
  smpTitle="Cell Lines",
  title="Sensitivity of cell lines to different drugs",
  xAxis=list("V1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cancerDeathByType2021-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Data source :  IHME, Global Burden of Disease (2024)",
  citationScaleFontFactor=0.7,
  dataTextColor="#FFFFFF",
  dataTextScaleFontFactor=0.8,
  dataValuesPosition="inside",
  graphOrientation="horizontal",
  graphType="Bar",
  maxSmpStringLen=50,
  showDataValues=TRUE,
  showLegend=FALSE,
  subtitle=" Estimated number of deaths from different types of cancer per 100,000 people.",
  subtitleScaleFontFactor=0.6,
  title="Cancer crude death rate by type, World, 2021",
  widthFactor=2,
  xAxis=list("Number of Deaths per 100000 people"),
  xAxisGridMajorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cancerDeathRateByAge-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/r/cX-cancerDeathRateByAge-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  citation="Data source :  WHO Mortality Database (2024)",
  citationScaleFontFactor=0.7,
  dataTextScaleFontFactor=0.7,
  graphOrientation="horizontal",
  graphType="Bar",
  maxSmpStringLen=50,
  motionBy="Year",
  showDataValues=TRUE,
  showLegend=FALSE,
  subtitle="The reported annual death rate from malignant cancers, based on the underlying cause listed on death certificates.\nThis is shown as a rate per 100,000 people in each age group.",
  subtitleScaleFontFactor=0.6,
  title="Cancer death rate by age group, United States",
  widthFactor=2,
  xAxis=list(1950, 1951, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021),
  xAxisGridMajorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("class"),
  showDataValues=TRUE,
  showLegend=FALSE,
  smpTextRotate=90,
  summaryType="count",
  theme="ggplot",
  title="Counting the number of cars by class",
  widthFactor=2,
  xAxis=list("displ")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorScheme="GGPlot",
  dataTextColor="#FFFFFF",
  dataValuesPosition="inside",
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("class"),
  showDataValues=TRUE,
  showLegend=FALSE,
  smpTextRotate=90,
  summaryType="sum",
  theme="ggplot",
  title="Total engine displacement for each class",
  widthFactor=2,
  xAxis=list("displ")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorScheme="CanvasXpress",
  graphType="Bar",
  is3DPlot=TRUE,
  scatterType="bar",
  widthFactor=2.5,
  x3DRatio=0.5,
  xAxis=list("V1", "V2", "V3", "V4"),
  yAxis=list("data"),
  zAxis=list("S1", "S2", "S3", "S4", "S5", "S6")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  colorBy="GNI",
  graphOrientation="vertical",
  graphType="Stacked",
  groupingFactors=list("continent"),
  legendInside=TRUE,
  legendPosition="right",
  objectBorderColor="rgb(0,0,0)",
  smpTextRotate=45,
  subtitle="2014 Census",
  title="Country Population colored by Gross National Income",
  treemapBy=list("ISO3"),
  widthFactor=4,
  xAxis=list("population")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-swimmer-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-swimmer-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  barType="swimmer",
  colorBy="Stage",
  colorScheme="CanvasXpress",
  graphOrientation="horizontal",
  graphType="Bar",
  groupingFactors=list("Subject"),
  objectColorTransparency=0.5,
  smpOverlays=list("Durable"),
  swimDurable="Durable",
  swimEnd="end",
  swimHigh="high",
  swimHighCap="High Cap",
  swimStart="start",
  swimStatus="Status",
  title="Tumor Response with Duration by Stage and Month",
  xAxis=list("high", "start", "end"),
  xAxisTitle="Duration of Treatment in Months"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-swimmer-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-swimmer-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  barType="swimmer",
  colorBy="Stage",
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("Subject"),
  objectColorTransparency=0.5,
  smpOverlayProperties=list(Durable=list(position="bottom"), Response=list(position="bottom", thickness=100, type="Bar")),
  smpOverlays=list("Durable", "Response"),
  smpTextRotate=90,
  swimDurable="Durable",
  swimEnd="end",
  swimHigh="high",
  swimHighCap="High Cap",
  swimStart="start",
  swimStatus="Status",
  title="Tumor Response with Duration by Stage and Month",
  xAxis=list("high", "start", "end"),
  xAxisTitle="Duration of Treatment in Months"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-audrey2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-audrey2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Result",
  colorScheme="Greens",
  graphType="Bar",
  groupingFactors=list("Award"),
  legendColumns=2,
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  maxSmpStringLen=50,
  objectBorderColor="rgb(0,0,0)",
  showLegendTitle=FALSE,
  smpTextScaleFontFactor=1.5,
  stackBy="Result",
  summaryType="count",
  title="The Awards of Audrey Hepburn",
  xAxis=list("Year"),
  xAxis2Show=TRUE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-animationMovies-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="solid",
  colorScheme="Blues",
  colors=list("rgb(75,179,216)"),
  fontName="Waltograph",
  fontsExternal=list(list(name="Waltograph", url="https://www.canvasxpress.org/assets/fonts/waltograph42.otf")),
  graphOrientation="vertical",
  graphType="Bar",
  marginBottom=50,
  marginLeft=50,
  marginRight=50,
  marginTop=50,
  maxTextSize=80,
  objectBorderColor="rgba(255,255,255,0)",
  plotBackgroundColor="rgb(48,114,148)",
  showLegend=FALSE,
  smpTextColor="rgb(255,255,255)",
  smpTextRotate=90,
  smpTextScaleFontFactor=1.5,
  title="Animation Movies",
  titleAlign="center",
  titleColor="rgb(255,255,255)",
  titleScaleFontFactor=2.5,
  xAxis=list("Total"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-movies-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-movies-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  backgroundType="solid",
  barType="bullet",
  bulletWidthRatio=1,
  colorBy="Color",
  colors=list("rgb(250,165,44)", "rgb(254,225,60)", "rgb(253,243,169)"),
  fontName="Waltograph",
  fontsExternal=list(list(name="Waltograph", url="https://www.canvasxpress.org/assets/fonts/waltograph42.otf")),
  graphType="Bar",
  marginBottom=50,
  marginLeft=50,
  marginRight=50,
  marginTop=50,
  maxTextSize=80,
  objectBorderColor="rgba(255,255,255,0)",
  plotBackgroundColor="rgb(48,114,148)",
  rangeColorTransparency=1,
  rangeColors=list("rgb(48,126,164)"),
  showLegend=FALSE,
  smpTextColor="rgb(255,255,255)",
  smpTextScaleFontFactor=2,
  title="Friendship, Love, Family",
  titleAlign="center",
  titleColor="rgb(254,225,60)",
  titleScaleFontFactor=2.5,
  widthFactor=1.1,
  xAxis=list("Topic"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="BarLine",
  legendColumns=2,
  legendPosition="bottom",
  lineThickness=2,
  lineType="spline",
  showTransition=FALSE,
  smpTextRotate=45,
  smpTitle="Collection of Samples",
  subtitle="Random Data",
  title="Bar-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4"),
  xAxis2Show=TRUE,
  xAxis2TickFormat="%.0f T",
  xAxisShow=TRUE,
  xAxisTickFormat="%.0f M"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorScheme="CanvasXpress",
  coordinateLineColor=TRUE,
  graphOrientation="vertical",
  graphType="BarLine",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Bar-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4"),
  xAxis2Show=TRUE,
  xAxisShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="BarLine",
  legendColumns=4,
  legendPosition="bottom",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Bar-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4"),
  xAxis2Show=TRUE,
  xAxisShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  graphOrientation="horizontal",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  objectColorTransparency=0.5,
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  boxplotNotched=TRUE,
  boxplotWhiskersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  boxplotNotched=TRUE,
  boxplotOutliersRatio=3,
  boxplotWhiskersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  splitSamplesBy="dose",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  boxplotMean=TRUE,
  boxplotMeanColor="rgb(255,215,0)",
  boxplotMeanColorBorder="red",
  boxplotNotched=TRUE,
  boxplotWhiskersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  boxplotMedianColor="red",
  boxplotMedianWidth=5,
  boxplotNotched=TRUE,
  boxplotWhiskersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  boxplotHingeFunction="fivenum",
  boxplotNotched=TRUE,
  boxplotWhiskersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  jitter=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  binAlignment="center",
  binned=TRUE,
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  jitter=FALSE,
  showBoxplotOriginalData=TRUE,
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=TRUE,
  panelBackgroundColor="#E5E5E5",
  shapeBy="supp",
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  colorBy="dose",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotType="range",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  colorBy="dose",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len",
  afterRender=list(list("pivotX", list("dose")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotConnect=TRUE,
  colorBy="supp",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotConnect=TRUE,
  colorBy="supp",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  segregateSamplesBy=list("supp"),
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="supp",
  colorScheme="GGPlot",
  connectBy="order",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  panelBackgroundColor="#E5E5E5",
  segregateSamplesBy=list("supp"),
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose", "order"),
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="supp",
  colorLegendTitle="supp",
  colorScheme="GGPlot",
  decorations=list(marker=list(list(color="black", group=0, group2=1, text=0.0191, type="pwc", variable="len", ymax=36, ymin=36), list(color="black", group=2, group2=3, text=0.0031, type="pwc", variable="len", ymax=36, ymin=36), list(color="black", group=4, group2=5, text=1, type="pwc", variable="len", ymax=36, ymin=36), list(color="black", group=0, group2=2, group3=1, group4=3, text="<0.0001", type="pwc", variable="len", ymax=40, ymin=40), list(color="black", group=0, group2=4, group3=1, group4=5, text="<0.0001", type="pwc", variable="len", ymax=44, ymin=44), list(color="black", group=2, group2=4, group3=3, group4=5, text="<0.0001", type="pwc", variable="len", ymax=48, ymin=48))),
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  legendColumns=8,
  legendPosition="top",
  smpTextRotate=90,
  smpTitle="len",
  sortOnGrouping="ascending",
  theme="GGPlot",
  xAxis=list("len")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  boxplotColor="#00AFBB",
  decorations=list(marker=list(list(color="black", group=0, group2=1, scope=list("OJ"), text="<0.0002", type="pwc", variable="len", ymax=35.385, ymin=34.494), list(color="black", group=0, group2=2, scope=list("OJ"), text="<0.0001", type="pwc", variable="len", ymax=38.949, ymin=38.058), list(color="black", group=1, group2=2, scope=list("OJ"), text=0.039, type="pwc", variable="len", ymax=42.513, ymin=41.622), list(color="black", group=0, group2=1, scope=list("VC"), text="<0.0001", type="pwc", variable="len", ymax=35.385, ymin=34.494), list(color="black", group=0, group2=2, scope=list("VC"), text="<0.0001", type="pwc", variable="len", ymax=38.949, ymin=38.058), list(color="black", group=1, group2=2, scope=list("VC"), text="<0.0001", type="pwc", variable="len", ymax=42.513, ymin=41.622))),
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  layoutTopology="1X2",
  segregateSamplesBy=list("supp"),
  smpTextRotate=90,
  smpTitle="len",
  sortOnGrouping="ascending",
  theme="GGPlot",
  xAxis=list("len")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-CO2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-CO2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  bubbleLabel="auto",
  circularType="bubble",
  colorBy="Continent",
  graphType="Circular",
  hierarchy=list("Country"),
  legendColumns=4,
  legendPosition="bottom",
  theme="paulTol",
  title="Annual CO2 Emmisions in 2018",
  xAxis=list("CO2")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-CO2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-CO2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  bubbleLabel="auto",
  bubbleOutlineColor="rgba(0,0,0,0)",
  circularType="bubble",
  colorBy="Continent",
  colorScheme="Prism",
  graphType="Circular",
  hierarchy=list("Continent", "Country"),
  legendColumns=4,
  legendPosition="top",
  showLegend=FALSE,
  title="Annual CO2 Emmisions in 2018",
  xAxis=list("CO2")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-CO2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-CO2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  bubbleColor="rgba(0,0,0,0)",
  bubbleLabel="first",
  bubbleLabelLineType="arch",
  bubbleLabelPosition="top",
  bubbleOutlineColor="rgba(0,0,0,0)",
  circularType="bubble",
  colorBy="Continent",
  colorScheme="Viridis",
  graphType="Circular",
  hierarchy=list("Continent", "Country"),
  legendColumns=4,
  legendPosition="top",
  showLegend=FALSE,
  title="Annual CO2 Emmisions in 2018",
  xAxis=list("CO2"),
  afterRender=list(list("modifyLabelCoordinates", list(list("Central America", -100, 100, true))), list("modifyLabelCoordinates", list(list("South America", 10, -50, true))), list("modifyLabelCoordinates", list(list("North America", 10, -50))))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-CO2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-CO2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  bubbleColor="rgba(0,0,0,0)",
  bubbleLabel="first",
  bubbleLabelLineType="line",
  bubbleLabelPosition="top",
  bubbleOutlineColor="rgba(0,0,0,0)",
  circularType="bubble",
  colorBy="Continent",
  colorScheme="Behance",
  graphType="Circular",
  hierarchy=list("Continent", "Country"),
  legendColumns=4,
  legendPosition="top",
  showLegend=TRUE,
  title="Annual CO2 Emmisions in 2018",
  xAxis=list("CO2"),
  afterRender=list(list("modifyLabelCoordinates", list(list("Central America", -100, 100, true))), list("modifyLabelCoordinates", list(list("South America", 10, -50, true))), list("modifyLabelCoordinates", list(list("North America", 10, -50))))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bullet-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  bulletTargetVarName="V5",
  dataTextColor="#000000",
  dataValuesPosition="inside",
  graphOrientation="horizontal",
  graphType="Bullet",
  rangeColors=list("#777777", "#AAAAAA", "#DDDDDD"),
  rangeStack=list("V2", "V3", "V4"),
  showDataValues=TRUE,
  showLegend=FALSE,
  xAxis=list("V1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bullet-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  bulletTargetVarColor="#3F3F3F",
  bulletTargetVarName="V5",
  colors=list("#3F3F3F"),
  graphOrientation="vertical",
  graphType="Bullet",
  layoutAdjust=TRUE,
  layoutTopology="1X6",
  rangeColors=list("#945D55", "#C4A285", "#EBE7DE"),
  rangeStack=list("V2", "V3", "V4"),
  segregateSamplesBy=list("sample"),
  showDataValues=TRUE,
  smpTextRotate=90,
  stripShow=FALSE,
  widthFactor=2,
  xAxis=list("V1"),
  xAxisTextScaleFontFactor=0.6
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-movies-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-movies-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  backgroundType="solid",
  bulletWidthRatio=1,
  colorBy="Color",
  colors=list("rgb(250,165,44)", "rgb(254,225,60)", "rgb(253,243,169)"),
  fontName="Waltograph",
  fontsExternal=list(list(name="Waltograph", url="https://www.canvasxpress.org/assets/fonts/waltograph42.otf")),
  graphOrientation="vertical",
  graphType="Bullet",
  marginBottom=0,
  marginLeft=50,
  marginRight=50,
  marginTop=50,
  maxTextSize=80,
  objectBorderColor="rgba(255,255,255,0)",
  plotBackgroundColor="rgb(48,114,148)",
  rangeColorTransparency=1,
  rangeColors=list("rgb(48,126,164)"),
  showLegend=FALSE,
  smpTextColor="rgb(255,255,255)",
  smpTextRotate=30,
  smpTextScaleFontFactor=2,
  title="Friendship, Love, Family",
  titleAlign="center",
  titleColor="rgb(254,225,60)",
  titleScaleFontFactor=2.5,
  widthFactor=1.1,
  xAxis=list("Topic"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bullet2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  bulletTargetVarName="Target",
  colors=list("#305DCB", "#E4EFFD", "#ADCFFA", "#73AFF8"),
  dataTextColor="#FFFFFF",
  dataValuesPosition="inside",
  graphOrientation="horizontal",
  graphType="Bullet",
  rangeColors=list("#73AFF8", "#ADCFFA", "#E4EFFD"),
  rangeStack=list("Low", "Average", "High"),
  showDataValues=TRUE,
  widthFactor=2,
  xAxis=list("Value")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bullet3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  barType="bullet",
  bulletStyle="roundGradient",
  bulletTargetType="openCircle",
  bulletTargetVarName="Target",
  bulletTargetWidthRatio=0.2,
  bulletWidthRatio=0.5,
  colors=list("#9422F5"),
  dataTextColor="#FFFFFF",
  dataTextScaleFontFactor=0.8,
  dataValuesPosition="inside",
  graphOrientation="horizontal",
  graphType="Bullet",
  layoutAdjust=TRUE,
  layoutSpacing=20,
  layoutTopology="3X1",
  rangeColors=list("#FFFFFF", "#F2F2F2", "#D8D8D8"),
  rangeStack=list("Bad", "Acceptable", "Good"),
  rangeStackShow=TRUE,
  segregateSamplesBy=list("sample"),
  showDataValues=TRUE,
  showLegend=FALSE,
  showSampleNames=FALSE,
  stripBackgroundColor="#FFFFFF",
  stripTextAlign="left",
  stripTextColor="#000000",
  widthFactor=15,
  xAxis=list("Value"),
  xAxis2Show=TRUE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-chord-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  circularArc=360,
  circularRotate=0,
  circularType="chord",
  colors=list("#000000", "#FFDD89", "#957244", "#F26223"),
  graphType="Circular",
  higlightGreyOut=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  rAxisTickFormat=list("%sK", " / 1000"),
  showTransition=FALSE,
  title="Simple Chord Graph",
  transitionStep=50,
  transitionTime=1500
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-chord-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  chordColor="largest",
  circularArc=360,
  circularRotate=180,
  circularType="chord",
  graphType="Circular",
  higlightGreyOut=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  rAxisTickFormat=list("%sK", " / 1000"),
  showTransition=FALSE,
  title="Rotated Chord Graph",
  transitionStep=50,
  transitionTime=1500
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-chord-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  circularArc=180,
  circularRotate=-90,
  circularType="chord",
  graphType="Circular",
  higlightGreyOut=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  rAxisTickFormat=list("%sK", " / 1000"),
  showLegend=FALSE,
  showTransition=FALSE,
  title="Rotated Half Chord Graph",
  transitionStep=50,
  transitionTime=1500
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-rrobin-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  chordColor="largest",
  chordScaleShow=FALSE,
  circularArc=360,
  circularRotate=180,
  circularType="chord",
  graphType="Circular",
  higlightGreyOut=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  title="Four way Round Robin Tournament"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-circular-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-circular-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-circular-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularConnections=list(list("rgb(255,0,0)", "s1", "s15"), list("rgb(0,255,0)", "s25", "s120"), list("rgb(255,0,0)", "s34", "s2"), list("rgb(255,0,0)", "s47", "s69"), list("rgb(255,0,0)", "s15", "s74"), list("rgb(0,120,0)", "s57", "s87"), list("rgb(255,34,0)", "s54", "s118"), list("rgb(255,0,100)", "s78", "s18"), list("rgb(255,134,0)", "s90", "s48"), list("rgb(120,0,0)", "s120", "s68"), list("rgb(255,0,0)", "s131", "s92"), list("rgb(0,255,0)", "s148", "s119"), list("rgb(0,0,255)", "s10", "s14"), list("rgb(255,0,0)", "s56", "s6"), list("rgb(255,0,0)", "s98", "s90"), list("rgb(255,0,0)", "s113", "s20")),
  circularTrackGraphType=list("dot", "heatmap", "bar"),
  circularTrackGraphWeight=list(50, 25, 25),
  circularTrackName=list(1, 2, 2, 3),
  graphType="Circular",
  legendColumns=4,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  segregateSamplesBy=list("Species"),
  smpOverlays=list("Species"),
  title="Iris flower data set (1D Circular Plot)",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-circular2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-circular2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-circular2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularConnections=list(list("rgb(0,0,255)", "setosa", 42, "versicolor", 35, 1, 2), list("rgb(0,255,0)", "virginica", 26, "versicolor", 15, 4, 8), list("rgb(120,0,255)", "setosa", 36, "virginica", 5, 6, 9), list("rgb(0,40,255)", "versicolor", 9, "versicolor", 18, 2, 5), list("rgb(80,0,55)", "versicolor", 14, "setosa", 9, 3, 4), list("rgb(0,55,140)", "setosa", 12, "setosa", 41, 5, 2), list("rgb(255,0,0)", "virginica", 25, "setosa", 3, 2, 6)),
  circularTrackGraphWeight=list(25, 25, 25, 25),
  circularTrackName=list("", "A", "B", "B", "C"),
  graphType="Circular",
  legendColumns=4,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  rAxis="Number",
  rAxisPercentShow=FALSE,
  segregateSamplesBy=list("Species"),
  title="Iris flower data set (2D Circular Plot)",
  xAxis=list("Number", "Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-circular-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-circular-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-circular-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularConnections=list(list("rgb(120,0,255)", "s71", "s107"), list("rgb(120,0,255)", "s73", "s107"), list("rgb(120,0,255)", "s84", "s107")),
  circularTrackGraphType=list("heatmap"),
  colorSmpDendrogramBy="Species",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  samplesClustered=TRUE,
  smpDendrogramPosition="outside",
  smpOverlays=list("Species"),
  title="Iris flower data set (Dendrogram Outside)",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-circular-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-circular-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-circular-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularConnections=list(list("rgb(120,0,255)", "s71", "s107"), list("rgb(120,0,255)", "s73", "s107"), list("rgb(120,0,255)", "s84", "s107")),
  circularTrackGraphType=list("heatmap"),
  circularTrackOrder=list("labels", "overlays", "dendrogram", "labels", "data"),
  colorSmpDendrogramBy="Species",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  samplesClustered=TRUE,
  smpDendrogramPosition="inside",
  smpOverlays=list("Species"),
  title="Iris flower data set (Dendrogram Inside)",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArcSectorSeparation=3,
  circularConnections=list(list("rgb(0,0,255)", 1, 17615830, 13, 60500000, 100000000, 20000000), list("rgb(0,255,0)", 1, 2300000, 8, 13650000, 40000000, 80000000), list("rgb(120,0,255)", 3, 71800000, 17, 6800000, 50000000, 25000000), list("rgb(0,40,255)", 7, 71800000, 12, 5520000, 200000000, 80000000), list("rgb(80,0,55)", 4, 8430000, 22, 6600000, 100000000, 50000000), list("rgb(0,55,140)", 4, 3100000, 14, 64100000, 58000000, 10000000), list("rgb(255,0,0)", 2, 94840000, 20, 6243500, 70000000, 30000000)),
  colorScheme="Tableau",
  colors=list("#332288", "#6699CC", "#88CCEE", "#44AA99", "#117733", "#999933", "#DDCC77", "#661100", "#CC6677", "#AA4466", "#882255", "#AA4499"),
  graphType="Circular",
  showIdeogram=TRUE,
  title="Default Settings",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40", "V41", "V42", "V43", "V44", "V45", "V46", "V47", "V48", "V49", "V50", "V51", "V52", "V53", "V54", "V55", "V56", "V57", "V58", "V59", "V60", "V61", "V62", "V63", "V64", "V65", "V66", "V67", "V68", "V69", "V70", "V71", "V72", "V73", "V74", "V75", "V76", "V77", "V78", "V79", "V80", "V81", "V82", "V83", "V84", "V85", "V86", "V87", "V88", "V89", "V90", "V91", "V92", "V93", "V94", "V95", "V96", "V97", "V98", "V99", "V100", "V101", "V102", "V103", "V104", "V105", "V106", "V107", "V108", "V109", "V110", "V111", "V112", "V113", "V114", "V115", "V116", "V117", "V118", "V119", "V120", "V121", "V122", "V123", "V124", "V125", "V126", "V127", "V128", "V129", "V130", "V131", "V132", "V133", "V134", "V135", "V136", "V137", "V138", "V139", "V140", "V141", "V142", "V143", "V144", "V145", "V146", "V147", "V148", "V149", "V150", "V151", "V152", "V153", "V154", "V155", "V156", "V157", "V158", "V159", "V160", "V161", "V162", "V163", "V164", "V165", "V166", "V167", "V168", "V169", "V170", "V171", "V172", "V173", "V174", "V175", "V176", "V177", "V178", "V179", "V180", "V181", "V182", "V183", "V184", "V185", "V186", "V187", "V188", "V189", "V190", "V191", "V192", "V193", "V194", "V195", "V196", "V197", "V198", "V199", "V200")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularAnchors2Align="inside",
  circularAnchorsAlign="outside",
  circularArcSectorSeparation=3,
  circularCenterProportion=0.5,
  circularConnections=list(list("rgb(0,0,255)", 1, 17615830, 13, 60500000, 100000000, 20000000), list("rgb(0,255,0)", 1, 2300000, 8, 13650000, 40000000, 80000000), list("rgb(120,0,255)", 3, 71800000, 17, 6800000, 50000000, 25000000), list("rgb(0,40,255)", 7, 71800000, 12, 5520000, 200000000, 80000000), list("rgb(80,0,55)", 4, 8430000, 22, 6600000, 100000000, 50000000), list("rgb(0,55,140)", 4, 3100000, 14, 64100000, 58000000, 10000000), list("rgb(255,0,0)", 2, 94840000, 20, 6243500, 70000000, 30000000)),
  circularLabelsAlign="inside",
  circularTrackGraphType=list("heatmap", "stacked"),
  circularTrackOrder=list("chromosomes", "Annt1", "Lev : 1", "anchors", "labels", "ideogram", "anchors2", "Lev : 4"),
  colorScheme="Tableau",
  colors=list("#332288", "#6699CC", "#88CCEE", "#44AA99", "#117733", "#999933", "#DDCC77", "#661100", "#CC6677", "#AA4466", "#882255", "#AA4499"),
  graphType="Circular",
  segregateSamplesBy=list("Factor4"),
  showIdeogram=TRUE,
  title="Custom Plotting Order",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40", "V41", "V42", "V43", "V44", "V45", "V46", "V47", "V48", "V49", "V50", "V51", "V52", "V53", "V54", "V55", "V56", "V57", "V58", "V59", "V60", "V61", "V62", "V63", "V64", "V65", "V66", "V67", "V68", "V69", "V70", "V71", "V72", "V73", "V74", "V75", "V76", "V77", "V78", "V79", "V80", "V81", "V82", "V83", "V84", "V85", "V86", "V87", "V88", "V89", "V90", "V91", "V92", "V93", "V94", "V95", "V96", "V97", "V98", "V99", "V100", "V101", "V102", "V103", "V104", "V105", "V106", "V107", "V108", "V109", "V110", "V111", "V112", "V113", "V114", "V115", "V116", "V117", "V118", "V119", "V120", "V121", "V122", "V123", "V124", "V125", "V126", "V127", "V128", "V129", "V130", "V131", "V132", "V133", "V134", "V135", "V136", "V137", "V138", "V139", "V140", "V141", "V142", "V143", "V144", "V145", "V146", "V147", "V148", "V149", "V150", "V151", "V152", "V153", "V154", "V155", "V156", "V157", "V158", "V159", "V160", "V161", "V162", "V163", "V164", "V165", "V166", "V167", "V168", "V169", "V170", "V171", "V172", "V173", "V174", "V175", "V176", "V177", "V178", "V179", "V180", "V181", "V182", "V183", "V184", "V185", "V186", "V187", "V188", "V189", "V190", "V191", "V192", "V193", "V194", "V195", "V196", "V197", "V198", "V199", "V200")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-ideogram-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArcSectorRadius=list(1, 1.05, 1.1, 1.15),
  circularArcSectorSeparation=3,
  circularConnections=list(list("rgb(0,0,255)", 1, 17615830, 13, 60500000, 100000000, 20000000), list("rgb(0,255,0)", 1, 2300000, 8, 13650000, 40000000, 80000000), list("rgb(120,0,255)", 3, 71800000, 17, 6800000, 50000000, 25000000), list("rgb(0,40,255)", 7, 71800000, 12, 5520000, 200000000, 80000000), list("rgb(80,0,55)", 4, 8430000, 22, 6600000, 100000000, 50000000), list("rgb(0,55,140)", 4, 3100000, 14, 64100000, 58000000, 10000000), list("rgb(255,0,0)", 2, 94840000, 20, 6243500, 70000000, 30000000)),
  circularTrackGraphType=list("heatmap", "area", "stacked", "dot", "bar"),
  circularTrackOrder=list("scale", "ideogram", "labels", "anchors", "Annt2", "Annt1", "Lev : 1", "Lev : 2", "Lev : 3", "Lev : 4"),
  colorScheme="Tableau",
  colors=list("#332288", "#6699CC", "#88CCEE", "#44AA99", "#117733", "#999933", "#DDCC77", "#661100", "#CC6677", "#AA4466", "#882255", "#AA4499"),
  graphType="Circular",
  segregateSamplesBy=list("Factor4"),
  showIdeogram=TRUE,
  title="Custom radi for Chromosomes and Custom Plotting Order",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40", "V41", "V42", "V43", "V44", "V45", "V46", "V47", "V48", "V49", "V50", "V51", "V52", "V53", "V54", "V55", "V56", "V57", "V58", "V59", "V60", "V61", "V62", "V63", "V64", "V65", "V66", "V67", "V68", "V69", "V70", "V71", "V72", "V73", "V74", "V75", "V76", "V77", "V78", "V79", "V80", "V81", "V82", "V83", "V84", "V85", "V86", "V87", "V88", "V89", "V90", "V91", "V92", "V93", "V94", "V95", "V96", "V97", "V98", "V99", "V100", "V101", "V102", "V103", "V104", "V105", "V106", "V107", "V108", "V109", "V110", "V111", "V112", "V113", "V114", "V115", "V116", "V117", "V118", "V119", "V120", "V121", "V122", "V123", "V124", "V125", "V126", "V127", "V128", "V129", "V130", "V131", "V132", "V133", "V134", "V135", "V136", "V137", "V138", "V139", "V140", "V141", "V142", "V143", "V144", "V145", "V146", "V147", "V148", "V149", "V150", "V151", "V152", "V153", "V154", "V155", "V156", "V157", "V158", "V159", "V160", "V161", "V162", "V163", "V164", "V165", "V166", "V167", "V168", "V169", "V170", "V171", "V172", "V173", "V174", "V175", "V176", "V177", "V178", "V179", "V180", "V181", "V182", "V183", "V184", "V185", "V186", "V187", "V188", "V189", "V190", "V191", "V192", "V193", "V194", "V195", "V196", "V197", "V198", "V199", "V200")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-circularNoData-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-circularNoData-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArcSectorSeparation=1,
  circularConnections=list(list("EA832040", "EA1011925A27"), list("EA832040", "EA832496"), list("EA832040", "EA832497"), list("EA832039", "EA1011925A19"), list("EA832039", "EA832486"), list("EA832039", "EA832492"), list("EA832044", "EA1011925A3"), list("EA832045", "EA1011925A5"), list("EA832048", "EA1011925A10"), list("EA832048", "EA832502"), list("EA832048", "EA832503"), list("EA832051", "EA1011925A9"), list("EA832051", "EA832507"), list("EA832051", "EA832509"), list("EA832050", "EA1011925A12"), list("EA1011925A18", "EA832483"), list("EA1011925A18", "EA832491"), list("EA1011925A19", "EA832039"), list("EA1011925A19", "EA832486"), list("EA1011925A19", "EA832492"), list("EA1011925A23", "EA832484"), list("EA1011925A23", "EA832501"), list("EA1011925A24", "EA832489"), list("EA1011925A25", "EA832498"), list("EA1011925A27", "EA832040"), list("EA1011925A27", "EA832496"), list("EA1011925A27", "EA832497"), list("EA1011925A30", "EA832487"), list("EA1011925A30", "EA832488"), list("EA1011925A1", "EA832521"), list("EA1011925A1", "EA832525"), list("EA1011925A2", "EA832510"), list("EA1011925A2", "EA832511"), list("EA1011925A3", "EA832044"), list("EA1011925A4", "EA832514"), list("EA1011925A4", "EA832515"), list("EA1011925A5", "EA832045"), list("EA1011925A6", "EA832519"), list("EA1011925A7", "EA832508"), list("EA1011925A7", "EA832513"), list("EA1011925A8", "EA836531"), list("EA1011925A8", "EA832504"), list("EA1011925A8", "EA832524"), list("EA1011925A9", "EA832051"), list("EA1011925A9", "EA832507"), list("EA1011925A9", "EA832509"), list("EA1011925A10", "EA832048"), list("EA1011925A10", "EA832502"), list("EA1011925A10", "EA832503"), list("EA1011925A11", "EA832523"), list("EA1011925A12", "EA832050"), list("EA1011925A13", "EA832506"), list("EA1011925A13", "EA832527"), list("EA1011925A14", "EA832520"), list("EA1011925A15", "EA832517"), list("EA1011925A15", "EA832518"), list("EA1011925A16", "EA836533"), list("EA1011925A16", "EA832475"), list("EA1011925A16", "EA832526"), list("EA832475", "EA836533"), list("EA832475", "EA1011925A16"), list("EA832475", "EA832526"), list("EA832476", "EA832480"), list("EA832479", "EA832490"), list("EA832480", "EA832476"), list("EA832481", "EA836505"), list("EA832481", "EA832493"), list("EA832482", "EA832499"), list("EA832483", "EA1011925A18"), list("EA832483", "EA832491"), list("EA832484", "EA1011925A23"), list("EA832484", "EA832501"), list("EA832486", "EA1011925A19"), list("EA832486", "EA832039"), list("EA832486", "EA832492"), list("EA832487", "EA1011925A30"), list("EA832487", "EA832488"), list("EA832488", "EA1011925A30"), list("EA832488", "EA832487"), list("EA832489", "EA1011925A24"), list("EA832490", "EA832479"), list("EA832491", "EA1011925A18"), list("EA832491", "EA832483"), list("EA832492", "EA1011925A19"), list("EA832492", "EA832039"), list("EA832492", "EA832486"), list("EA832493", "EA836505"), list("EA832493", "EA832481"), list("EA832494", "EA832495"), list("EA832495", "EA832494"), list("EA832496", "EA1011925A27"), list("EA832496", "EA832040"), list("EA832496", "EA832497"), list("EA832497", "EA1011925A27"), list("EA832497", "EA832040"), list("EA832497", "EA832496"), list("EA832498", "EA1011925A25"), list("EA832498", "EA832500"), list("EA832499", "EA832482"), list("EA832500", "EA832498"), list("EA832501", "EA1011925A23"), list("EA832501", "EA832484"), list("EA832502", "EA1011925A10"), list("EA832502", "EA832048"), list("EA832502", "EA832503"), list("EA832503", "EA1011925A10"), list("EA832503", "EA832048"), list("EA832503", "EA832502"), list("EA832504", "EA836531"), list("EA832504", "EA1011925A8"), list("EA832504", "EA832524"), list("EA832506", "EA1011925A13"), list("EA832506", "EA832527"), list("EA832507", "EA1011925A9"), list("EA832507", "EA832051"), list("EA832507", "EA832509"), list("EA832508", "EA1011925A7"), list("EA832508", "EA832513"), list("EA832509", "EA1011925A9"), list("EA832509", "EA832051"), list("EA832509", "EA832507"), list("EA832510", "EA1011925A2"), list("EA832510", "EA832511"), list("EA832511", "EA1011925A2"), list("EA832511", "EA832510"), list("EA832513", "EA1011925A7"), list("EA832513", "EA832508"), list("EA832514", "EA1011925A4"), list("EA832514", "EA832515"), list("EA832515", "EA1011925A4"), list("EA832515", "EA832514"), list("EA832517", "EA1011925A15"), list("EA832517", "EA832518"), list("EA832518", "EA1011925A15"), list("EA832518", "EA832517"), list("EA832519", "EA1011925A6"), list("EA832520", "EA1011925A14"), list("EA832521", "EA1011925A1"), list("EA832521", "EA832525"), list("EA832523", "EA1011925A11"), list("EA832524", "EA836531"), list("EA832524", "EA1011925A8"), list("EA832524", "EA832504"), list("EA832525", "EA1011925A1"), list("EA832525", "EA832521"), list("EA832526", "EA836533"), list("EA832526", "EA1011925A16"), list("EA832526", "EA832475"), list("EA832527", "EA1011925A13"), list("EA832527", "EA832506"), list("EA836488", "EA836513"), list("EA836488", "EA836514"), list("EA836494", "EA836528"), list("EA836494", "EA836529"), list("EA836492", "EA836493"), list("EA836496", "EA836535"), list("EA836496", "EA836536"), list("EA836493", "EA836492"), list("EA836533", "EA836534"), list("EA836533", "EA1011925A16"), list("EA836533", "EA832475"), list("EA836533", "EA832526"), list("EA836501", "EA836502"), list("EA836497", "EA836498"), list("EA836502", "EA836501"), list("EA836505", "EA832481"), list("EA836505", "EA832493"), list("EA836503", "EA836510"), list("EA836507", "EA836508"), list("EA836517", "EA836518"), list("EA836511", "EA836512"), list("EA836515", "EA836516"), list("EA836516", "EA836515"), list("EA836498", "EA836497"), list("EA836508", "EA836507"), list("EA836512", "EA836511"), list("EA836499", "EA836500"), list("EA836500", "EA836499"), list("EA836513", "EA836488"), list("EA836513", "EA836514"), list("EA836514", "EA836488"), list("EA836514", "EA836513"), list("EA836509", "EA836504"), list("EA836510", "EA836503"), list("EA836504", "EA836509"), list("EA836518", "EA836517"), list("EA836528", "EA836494"), list("EA836528", "EA836529"), list("EA836529", "EA836494"), list("EA836529", "EA836528"), list("EA836530", "EA836531"), list("EA836526", "EA836527"), list("EA836535", "EA836496"), list("EA836535", "EA836536"), list("EA836523", "EA836524"), list("EA836536", "EA836496"), list("EA836536", "EA836535"), list("EA836539", "EA836540"), list("EA836540", "EA836539"), list("EA836524", "EA836523"), list("EA836521", "EA836522"), list("EA836522", "EA836521"), list("EA836537", "EA836538"), list("EA836538", "EA836537"), list("EA836531", "EA836530"), list("EA836531", "EA1011925A8"), list("EA836531", "EA832504"), list("EA836531", "EA832524"), list("EA836534", "EA836533"), list("EA836527", "EA836526")),
  circularLabelsAlign="inside",
  circularTrackOrder=list("subject", "labels", "sample"),
  colorScheme="Favorite",
  graphType="Circular",
  overlayLevelOrientation="perpendicular",
  overlayScaleFontFactor=1,
  segregateSamplesBy=list("subject"),
  showLegend=FALSE,
  smpTextScaleFontFactor=0.3,
  xAxis=list("var1"),
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-volcano-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Heatmap",
  heatmapCellBox=FALSE,
  showContourLevel=TRUE,
  showSampleNames=FALSE,
  showVariableNames=FALSE,
  subtitle="datasets - volcano",
  title="Topographic Information on Auckland's Maunga Whau Volcano",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40", "V41", "V42", "V43", "V44", "V45", "V46", "V47", "V48", "V49", "V50", "V51", "V52", "V53", "V54", "V55", "V56", "V57", "V58", "V59", "V60", "V61"),
  afterRender=list(list("createContour"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-contour-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  contourType="normal",
  graphType="Heatmap",
  heatmapCellBox=FALSE,
  showSampleNames=FALSE,
  showVariableNames=FALSE,
  title="Basic Contour Plot",
  xAxis=list("v1", "v2", "v3", "v4", "v5"),
  afterRender=list(list("createContour"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-contour2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  contourFilled=TRUE,
  graphType="ScatterBubble2D",
  showContourLevel=TRUE,
  title="Basic Contour Plot",
  xAxis=list("s1"),
  yAxis=list("s2"),
  zAxis=list("s3"),
  afterRender=list(list("createContour"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-contour3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  contourFilled=TRUE,
  contourType="normal",
  graphType="ScatterBubble2D",
  title="Custom Contour Plot",
  xAxis=list("s1"),
  yAxis=list("s2"),
  zAxis=list("s3"),
  afterRender=list(list("createContour"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-contour4-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  contourType="normal",
  graphType="Heatmap",
  heatmapCellBox=FALSE,
  lineType="spline",
  showContourLevel=FALSE,
  showSampleNames=FALSE,
  showVariableNames=FALSE,
  xAxis=list("v1", "v2", "v3", "v4", "v5", "v6", "v7", "v8"),
  afterRender=list(list("createContour"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-contourdensity-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Contour",
  showContourDataPoints=TRUE,
  showContourLevel=FALSE,
  xAxis=list("eruptions"),
  yAxis=list("waiting")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  correlationAxis="samples",
  graphType="Correlation",
  title="Correlation Plot",
  xAxis=list("V1", "V2", "V3", "V4"),
  yAxisTitle="Correlation Title"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  correlationAxis="samples",
  correlationType="circle",
  graphType="Correlation",
  title="Correlation Plot",
  xAxis=list("V1", "V2", "V3", "V4"),
  yAxisTitle="Correlation Title"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  correlationAnchorLegend=TRUE,
  correlationAnchorLegendAlignWidth=20,
  correlationAxis="variables",
  graphType="Correlation",
  title="Correlation Plot",
  xAxis=list("V1", "V2", "V3", "V4"),
  yAxisTitle="Correlation Title"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mtcarst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Heatmap",
  title="Heatmap - Correlation",
  xAxis=list("mpg", "cyl", "disp", "hp", "drat", "wt", "qsec", "vs", "am", "gear", "carb"),
  afterRender=list(list("createHeatmapCorrelation"), list("clusterVariables"), list("clusterSamples"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-titanic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-titanic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Bar",
  groupingFactors=list("Pclass"),
  histogramBins=FALSE,
  stackBy="Survived",
  summaryType="count",
  theme="lastAirBenderFire",
  xAxis=list("Age"),
  afterRender=list(list("createHistogram"), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-mpg2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("model"),
  histogramBins=FALSE,
  histogramType="stacked",
  theme="gameOfThronesStannis",
  xAxis=list("displ", "cyl", "cty", "hwy"),
  afterRender=list(list("createHistogram"), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scents-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-scents-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Boxplot",
  histogramBins=FALSE,
  showTransition=FALSE,
  smpTextRotate=90,
  smpTitle="Smoking Status",
  theme="lastAirBenderWater",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3", "S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("groupSamples", list("Smoker")), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-body2-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/r/cX-body2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=FALSE,
  showTransition=FALSE,
  xAxis=list("Weight"),
  yAxis=list("Height"),
  afterRender=list(list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-kaplanmeier3-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/r/cX-kaplanmeier3-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  invertCensored=TRUE,
  showConfidenceIntervals=FALSE,
  showDecorations=TRUE,
  showLegend=FALSE,
  theme="gameOfThronesTargaryen",
  xAxis=list("Survival"),
  yAxis=list("Survival-Censor"),
  afterRender=list(list("switchSmpToAnnotation", list('Age')), list("switchSmpToAnnotation", list('Clin2')), list("switchSmpToAnnotation", list('Clin3')), list("addKMPlot"), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bc-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  asDOE=TRUE,
  colorBy="Stay Home Sick",
  graphType="Map",
  histogramBins=FALSE,
  layoutConfig=list(list(size="2X2")),
  legendPosition="top",
  mapId="bc",
  mapPropertyId="LOCAL_HLTH_AREA_CODE",
  topoJSON="https://www.canvasxpress.org/data/json/bc.json",
  xAxis=list("No Preventive Actions", "Physical Distancing", "Stay Home Sick")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  showHistogram=TRUE,
  showHistogramDensity=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  densityPosition="normal",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="density",
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  densityPosition="stacked",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="density",
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  densityPosition="filled",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="density",
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  densityPosition="stacked",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  showFilledHistogramDensity=TRUE,
  showHistogram=TRUE,
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density-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/r/cX-density-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=FALSE,
  histogramBins=20,
  showFilledHistogramDensity=TRUE,
  showHistogram="sex",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-density2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-density2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Scatter2D",
  hideHistogram=FALSE,
  histogramBins=20,
  histogramStat="count",
  showFilledHistogramDensity=TRUE,
  showHistogramBars=TRUE,
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  xAxis=list("Weight-Fem"),
  xAxisHistogramHeight=150,
  xAxisHistogramShow=TRUE,
  yAxis=list("Weight-Mas"),
  yAxisHistogramHeight=150,
  yAxisHistogramShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  showFilledHistogramDensity=TRUE,
  showHistogram=TRUE,
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Species",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  segregateVariablesBy=list("Species"),
  showFilledHistogramDensity=TRUE,
  showHistogram="Species",
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  segregateSamplesBy=list("sample"),
  showFilledHistogramDensity=TRUE,
  showHistogram="sample",
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Species",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramStat="count",
  segregateSamplesBy=list("sample"),
  showFilledHistogramDensity=TRUE,
  showHistogram="Species",
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=360,
  circularRotate=0,
  circularType="sunburst",
  colorBy="Month",
  colorScheme="Bootstrap",
  graphType="Circular",
  hierarchy=list("Month"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Simple Donnut",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=360,
  circularRotate=0,
  circularType="sunburst",
  colorBy="Quarter",
  colorScheme="RdYlBu",
  graphType="Circular",
  hierarchy=list("Quarter", "Month"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Donnut with two levels",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="DotLine",
  legendColumns=2,
  legendPosition="bottom",
  lineThickness=2,
  lineType="spline",
  smpTextRotate=45,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Dot-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4"),
  xAxisGridMajorColor="rgb(0,0,0)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  coordinateLineColor=TRUE,
  graphOrientation="vertical",
  graphType="DotLine",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Dot-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  coordinateLineColor=TRUE,
  graphOrientation="horizontal",
  graphType="DotLine",
  legendColumns=2,
  legendPosition="bottom",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Dot-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Dotplot",
  lineType="spline",
  showSmpOverlaysLegend=TRUE,
  smpOverlayProperties=list(Factor4=list(color="blue", showLegend=1, thickness=50, type="Bar"), Factor5=list(color="grey", showLegend=1, thickness=50, type="Bar"), Factor6=list(color="red", showLegend=1, thickness=50, type="Bar")),
  smpOverlays=list("Factor1", "Factor2", "Factor3", "Factor4", "Factor5", "Factor6"),
  smpTextRotate=45,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Dotplot Graph",
  xAxis=list("V1", "V2", "V3", "V4"),
  xAxisTickFormat="%.0f Mil."
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-iris-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-iris-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisTextFontStyle="bold",
  axisTitleFontStyle="italic",
  citation="R. A. Fisher (1936). The use of multiple measurements in taxonomic problems. Annals of Eugenics 7 (2) => 179-188.",
  citationFontStyle="italic",
  fontStyle="italic",
  graphOrientation="vertical",
  graphType="Dotplot",
  jitter=TRUE,
  marginBottom=30,
  smpTextFontStyle="italic",
  smpTextRotate=90,
  smpTitle="Species",
  title="Iris flower data set",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width"),
  xAxis2Show=FALSE,
  afterRender=list(list("groupSamples", list("Species")), list("segregateSamples", list("Species")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cars-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-cars-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  citation="Henderson, H. V. and Velleman, P. F. (1981), Building Regression Models Interactively. Biometrics, 37, 391-411.",
  citationFontStyle="italic",
  graphType="Dotplot",
  jitter=TRUE,
  legendColumns=2,
  legendInside=TRUE,
  legendPosition="bottomRight",
  showErrorBars=FALSE,
  title="Measurements on 38 1978-79 model automobiles.\nThe gas mileage in miles per gallon as measured by Consumers Union on a test track.",
  xAxis=list("MPG", "Weight", "Drive_Ratio", "Horsepower", "Displacement", "Cylinders"),
  afterRender=list(list("groupSamples", list("Country")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  axisAlgorithm="wilkinson",
  dataPointSizeScaleFactor=3,
  dataTextScaleFontFactor=0.6,
  dotplotType="stacked",
  graphType="Dotplot",
  plotStyle="open",
  showDataValues=TRUE,
  smpTitle="School",
  sortDir="descending",
  title="Gender Earnings Disparity",
  xAxis=list("Women", "Men"),
  xAxis2Title="Annual Salary",
  xAxisGridMinorShow=FALSE,
  xAxisTickFormat="$%sK",
  xAxisTitle="Annual Salary",
  afterRender=list(list("sortSamplesByVariable", list("Men")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  binned=TRUE,
  errorBarsColor="red",
  errorBarsType="standardDeviation",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dose"),
  jitter=FALSE,
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  binned=TRUE,
  colorBy="dose",
  colorScheme="GGPlot",
  errorBarsColor="red",
  errorBarsType="standardDeviation",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dose"),
  jitter=FALSE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  shapeBy="supp",
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  binned=TRUE,
  colorBy="dose",
  colorScheme="Blues",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  objectBorderColor="rgba(0,0,0)",
  panelBackgroundColor="#E5E5E5",
  showErrorBars=FALSE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  binned=TRUE,
  colorBy="dose",
  colorScheme="Blues",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  objectBorderColor="rgba(0,0,0)",
  panelBackgroundColor="#E5E5E5",
  showErrorBars=FALSE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  splitSamplesBy="supp",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  binned=TRUE,
  colorBy="dose",
  colorScheme="Blues",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  objectBorderColor="rgba(0,0,0)",
  panelBackgroundColor="#E5E5E5",
  showErrorBars=FALSE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  binned=TRUE,
  colorBy="dose",
  colorScheme="Blues",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  objectBorderColor="rgba(0,0,0)",
  panelBackgroundColor="#E5E5E5",
  segregateSamplesBy=list("supp"),
  showErrorBars=FALSE,
  showLegend=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  binned=TRUE,
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  jitter=FALSE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-lotr-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-lotr-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  backgroundImage="https://www.canvasxpress.org/assets/images/lotr-background.png",
  backgroundType="image",
  colorBy="Character",
  colors=list("rgb(45,24,18)", "rgb(95,50,31)", "rgb(22,25,16)", "rgb(56,54,25)", "rgb(165,113,76)", "rgb(116,50,36)", "rgb(170,99,47)", "rgb(195,152,60)", "rgb(0,0,0)"),
  dotplotOutlineThreshold=1,
  dotplotType="transition",
  fontName="Bilbo",
  fonts=list("Bilbo"),
  graphOrientation="horizontal",
  graphType="Dotplot",
  groupingFactors=list("Character"),
  images=list("https://www.canvasxpress.org/assets/images/Frodo.png", "https://www.canvasxpress.org/assets/images/Gandalf.png", "https://www.canvasxpress.org/assets/images/Merry.png", "https://www.canvasxpress.org/assets/images/Pippin.png", "https://www.canvasxpress.org/assets/images/Sam.png", "https://www.canvasxpress.org/assets/images/Aragorn.png", "https://www.canvasxpress.org/assets/images/Boromir.png", "https://www.canvasxpress.org/assets/images/Gimli.png", "https://www.canvasxpress.org/assets/images/Legolas.png"),
  layoutAdjust=TRUE,
  layoutTopology="1X3",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  marginBottom=80,
  marginLeft=60,
  marginRight=60,
  marginTop=180,
  maxFontSize=40,
  objectColorTransparency=0.85,
  segregateSamplesBy=list("Film"),
  showErrorBars=FALSE,
  showLegend=FALSE,
  sizeBy="Words",
  sizeByContinuous=TRUE,
  sizeByShowLegend=FALSE,
  sizes=list(5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55),
  smpLabelImage=TRUE,
  smpLabelImageRound=TRUE,
  smpTextScaleFontFactor=0.9,
  sortData=list(list("cat", "smp", "Character"), list("cat", "smp", "Chapter Name")),
  stripBackgroundBorderColor="rgba(0,0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextFontStyle="bold",
  stripTextScaleFontFactor=1.2,
  title="Words per Chapter by Character",
  titleAlign="center",
  titleFontStyle="bold",
  titleScaleFontFactor=1.6,
  xAxis=list("Chapter"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-audrey-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-audrey-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  backgroundImage="https://www.canvasxpress.org/assets/images/Audrey.jpg",
  backgroundType="image",
  colorBy="Type",
  colorScheme="Greens",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("Year"),
  isGraphTime=TRUE,
  jitter=FALSE,
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=2,
  legendTitleScaleFontFactor=2,
  marginLeft=150,
  marginRight=150,
  objectBorderColor="rgba(0,0,0)",
  showErrorBars=FALSE,
  showLegendTitle=FALSE,
  smpLabelInterval=1,
  smpTextRotate=90,
  timeFormat="year",
  title="The Life and Films of Audrey Hepburn",
  xAxis=list("Number"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-audrey2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-audrey2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Result",
  colorScheme="Greens",
  graphType="Dotplot",
  groupingFactors=list("Award"),
  jitter=FALSE,
  legendColumns=2,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  maxSmpStringLen=50,
  objectBorderColor="rgba(0,0,0)",
  showErrorBars=FALSE,
  showLegendTitle=FALSE,
  title="The Awards of Audrey Hepburn",
  xAxis=list("Year"),
  xAxis2Show=TRUE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-timeliner-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-timeliner-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Color",
  colorScheme="LastAirBenderWater",
  decorations=list(line=list(list(align="left", color="rgba(0,0,0,0.5)", value=1, width=1))),
  graphOrientation="vertical",
  graphType="Dotplot",
  isGraphTime=TRUE,
  marginLeft=70,
  marginRight=70,
  objectColorTransparency=0.6,
  showLegend=FALSE,
  sizeBy="Size",
  sizes=list(5, 15, 25, 35, 70, 150),
  smpLabelInterval=4,
  smpTextRotate=90,
  timeFormat="isoDate",
  xAxis=list("Unit"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("grey", "blue", "pink"),
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  sortDir="ascending",
  title="Age Range by Gender",
  xAxis=list("Female", "Male"),
  xAxis2Show=TRUE,
  xAxisShow=FALSE,
  xAxisTitle2="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("grey", "blue", "pink"),
  dataPointSizeScaleFactor=3.5,
  dataTextScaleFontFactor=0.6,
  graphOrientation="vertical",
  graphType="Dumbbell",
  highlightSmp=list("Russia"),
  legendColumns=2,
  legendPosition="bottom",
  plotStyle="open",
  showDataValues=TRUE,
  smpTextRotate=30,
  sortDir="ascending",
  subtitle="The age difference between men and women is largest in Russia",
  title="Age Range by Gender",
  titleFontStyle="bold",
  xAxis=list("Female", "Male"),
  xAxisTitle="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  dataPointSizeScaleFactor=3,
  dataTextScaleFontFactor=0.5,
  dumbbellType="connected",
  graphOrientation="horizontal",
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  plotStyle="open",
  showDataValues=TRUE,
  sortDir="ascending",
  theme="wallStreetJournal",
  title="Age Range by Gender",
  titleFontStyle="bold",
  xAxis=list("Female", "Male"),
  xAxisTitle="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  dumbbellType="cleveland",
  graphOrientation="vertical",
  graphType="Dumbbell",
  legendColumns=3,
  legendPosition="top",
  smpTextRotate=30,
  sortDir="ascending",
  title="Age Range by Gender",
  titleFontStyle="bold",
  xAxis=list("Female", "Male", "Combined"),
  xAxisTitle="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  dataPointSizeScaleFactor=3,
  dataTextScaleFontFactor=0.5,
  dumbbellType="bullet",
  graphOrientation="horizontal",
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  plotStyle="open",
  showDataValues=TRUE,
  sortDir="ascending",
  title="Age Range by Gender",
  titleFontStyle="bold",
  xAxis=list("Female", "Male"),
  xAxisTitle="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("grey", "blue", "pink"),
  dumbbellType="arrow",
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  sortDir="ascending",
  title="Age Range by Gender",
  xAxis=list("Female", "Male"),
  xAxis2Show=TRUE,
  xAxisShow=FALSE,
  xAxisTitle2="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("grey", "blue", "pink"),
  dumbbellType="line",
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  sortDir="ascending",
  title="Age Range by Gender",
  xAxis=list("Female", "Male"),
  xAxis2Show=TRUE,
  xAxisShow=FALSE,
  xAxisTitle2="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dumbbell2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colors=list("grey", "blue", "pink"),
  connectByColor="#ffffff",
  dataPointSizeScaleFactor=3,
  dumbbellType="lineConnected",
  graphOrientation="vertical",
  graphType="Dumbbell",
  legendColumns=2,
  legendPosition="bottom",
  smpTextRotate=30,
  sortDir="ascending",
  theme="wallStreetJournal",
  title="Age Range by Gender",
  xAxis=list("Female", "Male"),
  xAxisTitle="Age"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  layoutCollapse=FALSE,
  layoutType="rows",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateVariables", list("Annt2")), list("segregateSamples", list("Factor1")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="Bar",
  layoutCollapse=TRUE,
  layoutType="rows",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateSamples", list("Factor1")), list("segregateVariables", list("Annt2")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  layoutCollapse=FALSE,
  layoutType="cols",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateVariables", list("Annt2")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  layoutCollapse=FALSE,
  layoutType="wrap",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateVariables", list("Annt2")), list("segregateSamples", list("Factor1")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  layoutCollapse=FALSE,
  layoutType="cols",
  legendBox=TRUE,
  shapeBy="Age",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Floral scent data set",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("segregateVariables", list(list("Opinion", "Sex"))))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  layoutCollapse=FALSE,
  layoutType="rows",
  legendBox=TRUE,
  shapeBy="Age",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Floral scent data set",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("segregateVariables", list(list("Opinion", "Sex"))))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  layoutCollapse=FALSE,
  layoutType="wrap",
  legendBox=TRUE,
  shapeBy="Age",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Floral scent data set",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("segregateVariables", list(list("Opinion", "Sex"))))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  layoutCollapse=TRUE,
  layoutType="cols",
  legendBox=TRUE,
  shapeBy="Age",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Floral scent data set",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("segregateVariables", list("Opinion")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fish-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panel",
  colors=list("rgb(136,136,136)", "rgb(239,0,0)", "rgb(255,96,0)", "rgb(255,207,0)", "rgb(191,255,64)", "rgb(80,255,175)", "rgb(0,223,255)", "rgb(0,112,255)", "rgb(0,0,255)", "rgb(0,0,143)"),
  fishAxis=list(0, 150),
  fishParents=list(0, 1, 1, 3),
  fishShape="spline",
  fishTimepoints=list(0, 30, 75, 150),
  graphType="Fish",
  legendColumns=4,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  panelBackgroundColor="#ffe4c4",
  title="Sample1",
  xAxis=list("Founding", "Subclone 1", "Subclone 2", "Subclone 3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fish2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panelSolidGradient",
  colorSpectrum=list("bisque", "darkgoldenrod1", "darkorange3"),
  colors=list("rgb(136,136,136)", "rgb(239,0,0)", "rgb(255,96,0)", "rgb(255,207,0)", "rgb(191,255,64)", "rgb(80,255,175)", "rgb(0,223,255)", "rgb(0,112,255)", "rgb(0,0,255)", "rgb(0,0,143)"),
  fishAxis=list(0, 423),
  fishCloneLabels=list("DNMT3A,FLT3", "NPM1", "MET", "ETV6,WNK1-WAC,\nMYO18B"),
  fishParents=list(0, 1, 1, 3),
  fishShape="spline",
  fishTimepoints=list(0, 30, 200, 423),
  gradientOrientation="horizontal",
  graphType="Fish",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  varTextColor="green",
  varTextRotate=30,
  xAxis=list("C1", "C2", "C3", "C4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fish3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panelSolidGradient",
  colorSpectrum=list("#ffe4c4", "#ffb90f", "#cd6600"),
  colors=list("#1B9E77", "#D95F02", "#7570B3", "#E7298A"),
  fishAxis=list(0, 120),
  fishAxisLabels=list("Primary", "Post-AI"),
  fishParents=list(0, 1, 2, 1),
  fishShape="polygon",
  fishTimepoints=list(0, 120),
  gradientOrientation="horizontal",
  graphType="Fish",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  title="BRC32",
  xAxis=list("S1", "S2", "S3", "S4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fish4-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panelSolidGradient",
  colorSpectrum=list("#ffe4c4", "#ffb90f", "#cd6600"),
  colors=list("#888888", "#EF0000", "#8FFF40", "#FF6000", "#50FFAF", "#FFCF00", "#0070FF"),
  fishAxis=list(0, 34, 69, 187, 334, 505, 530, 650, 750),
  fishParents=list(0, 1, 1, 1, 3, 4, 0),
  fishSeparateIndependentClones=TRUE,
  fishShape="spline",
  fishTimepoints=list(0, 34, 69, 187, 334, 505, 530),
  gradientOrientation="horizontal",
  graphType="Fish",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  xAxis=list("C1", "C2", "C3", "C4", "C5", "C6", "C7")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fish-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panel",
  colors=list("rgb(136,136,136)", "rgb(239,0,0)", "rgb(255,96,0)", "rgb(255,207,0)", "rgb(191,255,64)", "rgb(80,255,175)", "rgb(0,223,255)", "rgb(0,112,255)", "rgb(0,0,255)", "rgb(0,0,143)"),
  fishAxis=list(0, 150),
  fishCloneLabels=list("TP53,MET", "NF1", "", "8q+,6p-"),
  fishParents=list(0, 1, 1, 3),
  fishShape="spline",
  fishTimepoints=list(0, 30, 75, 150),
  graphType="Fish",
  legendColumns=4,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  panelBackgroundColor="#ffe4c4",
  xAxis=list("Founding", "Subclone 1", "Subclone 2", "Subclone 3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  blockContrast=TRUE,
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  xAxis=list("Start", "End")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  ganttCompletion="Completion",
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  xAxis=list("Start", "End")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  blockContrast=TRUE,
  colorBy="Clinical Trial",
  ganttCompletion="Completion",
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  groupingFactors=list("Clinical Trial"),
  xAxis=list("Start", "End")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-gantt2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  blockContrast=TRUE,
  colorBy="Indication",
  ganttCompletion="Completion",
  ganttDependency="Dependencies",
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  xAxis=list("Start", "End")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-gantt3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  blockContrast=TRUE,
  colorBy="Indication",
  ganttCompletion="Completion",
  ganttDependency="Dependencies",
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  groupingFactors=list("Clinical Trial"),
  xAxis=list("Start", "End", "Milestone")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gantt3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-gantt3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  blockContrast=TRUE,
  colorBy="Clinical Trial",
  ganttCompletion="Completion",
  ganttDependency="Dependencies",
  ganttDependencyColor="DependencyColor",
  ganttDependencyEnd="DependencyEnd",
  ganttDependencyThickness="DependencyThickness",
  ganttEnd="End",
  ganttStart="Start",
  graphType="Gantt",
  groupingFactors=list("Clinical Trial"),
  patternBy="Indication",
  xAxis=list("Start", "End", "Milestone")
)
library(canvasXpress)
library(jsonlite)
genome <- read_json("https://www.canvasxpress.org/data/r/cX-genomesimple.json")
canvasXpress(
  data=genome,
  background="rgb(245,245,245)",
  graphType="Genome",
  setMax=30,
  setMin=0
)
library(canvasXpress)
library(jsonlite)
genome <- read_json("https://www.canvasxpress.org/data/r/cX-genomeintermediate.json")
canvasXpress(
  data=genome,
  background="rgb(245,245,245)",
  graphType="Genome",
  setMax=30,
  setMin=0
)
library(canvasXpress)
library(jsonlite)
genome <- read_json("https://www.canvasxpress.org/data/r/cX-genomeadvanced.json")
canvasXpress(
  data=genome,
  background="rgb(245,245,245)",
  dataPointSize=5,
  featureStaggered=TRUE,
  graphType="Genome"
)
library(canvasXpress)
library(jsonlite)
genome <- read_json("https://www.canvasxpress.org/data/r/cX-genomeideogram.json")
canvasXpress(
  data=genome,
  background="rgb(245,245,245)",
  graphType="Genome",
  ideogramShowFullChromosome=TRUE,
  showIdeogram=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("navy", "white", "firebrick3"),
  graphType="Heatmap",
  title="Simple Heatmap",
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("navy", "white", "firebrick3"),
  graphType="Heatmap",
  heatmapCellBoxColor="rgb(255,255,255)",
  samplesClustered=TRUE,
  title="Clustered data",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("blue", "white", "red"),
  colorSpectrumBreaks=list(1, 2, 10),
  graphType="Heatmap",
  heatmapCellBoxColor="rgb(255,255,255)",
  samplesClustered=TRUE,
  showSmpDendrogram=FALSE,
  showVarDendrogram=FALSE,
  title="Custom color breaks",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  graphType="Heatmap",
  heatmapCellBox=FALSE,
  samplesClustered=TRUE,
  showSmpDendrogram=FALSE,
  showVarDendrogram=FALSE,
  title="Cluster Heatmap Without Trees",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  colorSpectrumZeroValue=0,
  graphType="Heatmap",
  samplesClustered=TRUE,
  showSmpDendrogram=FALSE,
  showVarDendrogram=FALSE,
  title="Symetrical Colors in Heatmap",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSmpDendrogramBy="Treatment",
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  colorSpectrumZeroValue=0,
  graphType="Heatmap",
  heatmapIndicatorHeight=60,
  heatmapIndicatorHistogram=TRUE,
  heatmapIndicatorPosition="topLeft",
  heatmapIndicatorWidth=120,
  samplesClustered=TRUE,
  smpOverlayProperties=list(V1=list(color="brown", position="right", thickness=120, type="Boxplot"), V11=list(color="green", position="right", thickness=120, type="Boxplot"), V35=list(color="purple", position="right", thickness=120, type="Boxplot")),
  smpOverlays=list("V1", "V11", "V35"),
  title="R Heatmap",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSmpDendrogramBy="Treatment",
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  colorSpectrumZeroValue=0,
  graphType="Heatmap",
  heatmapIndicatorHeight=60,
  heatmapIndicatorHistogram=TRUE,
  heatmapIndicatorPosition="topLeft",
  heatmapIndicatorWidth=120,
  samplesClustered=TRUE,
  smpOverlays=list("Treatment", "Site"),
  splitSamplesBy="Treatment",
  title="Overlays in Heatmap",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  colorSpectrumZeroValue=0,
  graphType="Heatmap",
  heatmapIndicatorHeight=100,
  heatmapIndicatorHistogram=TRUE,
  heatmapIndicatorPosition="topLeft",
  heatmapIndicatorWidth=120,
  highlightSmp=list("S1", "S2", "S3", "S4", "S5"),
  highlightVar=list("V18", "V19", "V20"),
  samplesClustered=TRUE,
  smpOverlays=list("Treatment", "Site"),
  title="Highlight cells in Heatmap",
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorKey=list(Sens=list("white", "green"), Site="GnBu", Treatment="RdPu", Type="YlGn"),
  colorSpectrum=list("magenta", "blue", "black", "red", "gold"),
  colorSpectrumZeroValue=0,
  graphType="Heatmap",
  heatmapIndicatorHeight=80,
  heatmapIndicatorHistogram=TRUE,
  heatmapIndicatorPosition="topLeft",
  heatmapIndicatorWidth=120,
  samplesClustered=TRUE,
  smpOverlayProperties=list(Dose=list(position="right", thickness=50, type="Dotplot"), Site=list(position="left"), Treatment=list(position="right")),
  smpOverlays=list("Treatment", "Site", "Dose"),
  title="Advanced Overlays in Heatmaps",
  varOverlayProperties=list(Sens=list(color="red", position="bottom", thickness=20, type="Bar"), Type=list(position="top")),
  varOverlays=list("Type", "Sens"),
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y3=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-dat3.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y4=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-dat4.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2, data3=y3, data4=y4),
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  guidesShow=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  outlineBy="Outline",
  outlineByData="data2",
  shapeBy="Shape",
  shapeByData="data3",
  sizeBy="Size",
  sizeByData="data4",
  xAxis=list("V1", "V2", "V3", "V4", "V5"),
  afterRender=list(list("clusterSamples"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorSpectrum=list("#f0f0f0", "#bdbdbd", "#636363", "#000000"),
  graphType="Heatmap",
  showHeatmapIndicator=FALSE,
  showLegend=FALSE,
  sizeBy="Size",
  sizeByContinuous=TRUE,
  sizeByData="data",
  title="A good old Northern Blot",
  xAxis=list("V1", "V2", "V3", "V4", "V5")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-overlays-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-overlays-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-overlays-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  showSmpOverlaysLegend=FALSE,
  showVarOverlaysLegend=FALSE,
  smpOverlayProperties=list(Binary=list(position="left", scheme="BlackAndWhite", showLegend=1, type="Default"), Boolean=list(position="left"), Continuous=list(position="left", showLegend=1, spectrum=list("green", "white"), type="Heatmap"), Discrete=list(position="left", showLegend=1, thickness=30, type="Default"), Early=list(color="blue", position="right", thickness=50, type="Line"), Late=list(color="red", position="right", thickness=50, type="Line"), OnTime=list(color="green", position="right", thickness=50, type="Line"), PhaseA=list(position="left", showLegend=1, thickness=50, type="Bar"), PhaseB=list(position="left", showLegend=1, thickness=50, type="Bar"), PhaseC=list(position="left", showLegend=1, thickness=50, type="Bar"), Temp=list(position="right", spectrum=list("blue", "white", "red"), thickness=100, type="Heatmap")),
  smpOverlays=list("PhaseA", "PhaseB", "PhaseC", "-", "-", "Binary", "Boolean", "Continuous", "Discrete", "-", "-", "Temp", "-", "-", "Early", "OnTime", "Late"),
  smpTextScaleFontFactor=1.1,
  splitSamplesBy="Discrete",
  splitVariablesBy="Drug",
  varOverlayProperties=list(Cold=list(color="blue", position="bottom", showLegend=1, thickness=50, type="StackedPercent"), Conc=list(position="top", showLegend=1, thickness=40, type="Bar"), Desc=list(position="bottom", type="Text"), Drug=list(position="top", showLegend=1, thickness=30, type="Increase"), Even=list(position="bottom", showLegend=1, thickness=50, type="Bar"), Female=list(position="top", showLegend=1, thickness=50, type="Pie"), Hot=list(color="red", position="bottom", showLegend=1, thickness=50, type="StackedPercent"), Male=list(position="top", showLegend=1, thickness=50, type="Pie"), Nice=list(color="green", position="bottom", showLegend=1, thickness=50, type="Dotplot"), Odd=list(position="bottom", showLegend=1, thickness=50, type="BarLine"), Site=list(position="top", showLegend=1, type="Default"), Ugly=list(color="black", position="bottom", showLegend=1, thickness=50, type="Dotplot")),
  varOverlays=list("Drug", "-", "Male", "Female", "-", "Site", "-", "Conc", "-", "Desc", "-", "Even", "Odd", "-", "-", "Nice", "Ugly", "-", "-", "Cold", "Hot"),
  varTextRotate=45,
  varTextScaleFontFactor=1.7,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  heatmapIndicatorPosition="right",
  overlayFontStyle="bold",
  overlayScaleFontFactor=2,
  samplesClustered=TRUE,
  showSmpOverlaysLegend=TRUE,
  showValueOverlays=FALSE,
  showVarOverlaysLegend=TRUE,
  smpDendrogramPosition="right",
  smpOverlayProperties=list(CellType=list(position="right", scheme="Matlab", showLegend=1, type="Default"), Dose=list(color="blue", position="left", thickness=80, type="Bar"), Drug=list(position="left", scheme="Lancet", showLegend=1, thickness=30, type="Increase"), Time=list(position="right", scheme="Greens", showLegend=1, type="Default")),
  smpOverlays=list("Drug", "-", "Dose", "CellType", "-", "Time"),
  smpTitleLabelPosition="right",
  varOverlayProperties=list(GeneClass=list(position="top", scheme="GGPlot", showLegend=1, thickness=20, type="Default"), ProteinA=list(color="green", position="top", thickness=45, type="Line")),
  varOverlays=list("ProteinA", "-", "GeneClass"),
  varTitleLabelPosition="bottom",
  variablesClustered=TRUE,
  xAxis=list("Var1", "Var2", "Var3", "Var4", "Var5", "Var6", "Var7", "Var8", "Var9", "Var10", "Var11", "Var12", "Var13", "Var14", "Var15", "Var16", "Var17", "Var18", "Var19", "Var20")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap2-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-pheatmap2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2),
  smpAnnot=x,
  varAnnot=z,
  dendrogramHeight=50,
  graphType="Heatmap",
  guidesShow=TRUE,
  heatmapIndicatorPosition="top",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  samplesClustered=TRUE,
  showSmpDendrogram=FALSE,
  showVarDendrogram=FALSE,
  sizeBy="Size",
  sizeByData="data2",
  sizes=list(4, 6, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48),
  title="Bubble Heatmap Plot",
  variablesClustered=TRUE,
  xAxis=list("Var1", "Var2", "Var3", "Var4", "Var5", "Var6", "Var7", "Var8", "Var9", "Var10", "Var11", "Var12", "Var13", "Var14", "Var15", "Var16", "Var17", "Var18", "Var19", "Var20")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-heatmapR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorBy="Lab",
  colorSpectrumByFactor=list(Lab=list(A=list(spectrum=list("rgb(255,215,0)", "rgb(255,255,255)", "rgb(160,32,240)")), B=list(spectrum=list("rgb(0,0,255)", "rgb(255,255,255)", "rgb(255,0,0)")))),
  graphType="Heatmap",
  samplesClustered=TRUE,
  showSmpDendrogram=FALSE,
  showVarDendrogram=FALSE,
  smpOverlays=list("Treatment"),
  splitVariablesBy="Lab",
  varOverlays=list("Lab"),
  variablesClustered=TRUE,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6", "V7", "V8", "V9", "V10", "V11", "V12", "V13", "V14", "V15", "V16", "V17", "V18", "V19", "V20", "V21", "V22", "V23", "V24", "V25", "V26", "V27", "V28", "V29", "V30", "V31", "V32", "V33", "V34", "V35", "V36", "V37", "V38", "V39", "V40")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2),
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  heatmapType="split",
  title="Split Heatmap for Multidimensional Data",
  xAxis=list("V1", "V2", "V3", "V4", "V5")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-multidimensionalheatmap3-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2),
  smpAnnot=x,
  varAnnot=z,
  colorSpectrumByObject=list(data2=list(spectrum=list("#ffffFF", "#FF00FF"))),
  graphType="Heatmap",
  heatmapType="split",
  title="Split Heatmap with multiple color brews",
  xAxis=list("V1", "V2", "V3", "V4", "V5")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dsmall-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/r/cX-dsmall-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  binplotBins=30,
  binplotShape="hexagon",
  graphType="Scatter2D",
  scatterType="bin2d",
  showScatterDensity=TRUE,
  xAxis=list("carat"),
  yAxis=list("price")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dsmall-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/r/cX-dsmall-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  binplotBins=list(100, 100),
  binplotShape="hexagon",
  graphType="Scatter2D",
  scatterType="bin2d",
  showScatterDensity=TRUE,
  xAxis=list("carat"),
  yAxis=list("price")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dsmall-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/r/cX-dsmall-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  binplotBinWidth=list(1, 1000),
  binplotShape="hexagon",
  graphType="Scatter2D",
  scatterType="bin2d",
  showScatterDensity=TRUE,
  xAxis=list("carat"),
  yAxis=list("price")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dsmall-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/r/cX-dsmall-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  binplotBins=30,
  binplotShape="rectangle",
  graphType="Scatter2D",
  scatterType="bin2d",
  showScatterDensity=TRUE,
  xAxis=list("carat"),
  yAxis=list("price")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-dsmall-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/r/cX-dsmall-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  binplotBins=30,
  binplotShape="oval",
  graphType="Scatter2D",
  scatterType="bin2d",
  showScatterDensity=TRUE,
  xAxis=list("carat"),
  yAxis=list("price")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cancersurvivalt-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/r/cX-cancersurvivalt-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisTitleFontStyle="italic",
  citation="Cameron, E. and Pauling, L. (1978). Proceedings of the National Academy of Science USA, 75.",
  graphType="Scatter2D",
  histogramBins=10,
  showHistogram=TRUE,
  showTransition=FALSE,
  title="Patients with advanced cancers of the stomach,\nbronchus, colon, ovary or breast treated with ascorbate.",
  xAxis=list("Survival"),
  xAxisTitle="Survival (days)",
  yAxisTitle="Number of Subjects"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cancersurvivalt-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/r/cX-cancersurvivalt-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisTitleFontStyle="italic",
  citation="Cameron, E. and Pauling, L. (1978). Proceedings of the National Academy of Science USA, 75.",
  graphType="Scatter2D",
  histogramBins=20,
  showHistogram=TRUE,
  title="Patients with advanced cancers of the stomach,\nbronchus, colon, ovary or breast treated with ascorbate.",
  xAxis=list("Survival"),
  xAxisTitle="Survival (days)",
  yAxisTitle="Number of Subjects"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cancersurvivalt-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/r/cX-cancersurvivalt-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisTitleFontStyle="italic",
  citation="Cameron, E. and Pauling, L. (1978). Proceedings of the National Academy of Science USA, 75.",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramBins=20,
  showFilledHistogramPath=TRUE,
  showHistogram=TRUE,
  showHistogramPath=TRUE,
  title="Patients with advanced cancers of the stomach,\nbronchus, colon, ovary or breast treated with ascorbate.",
  xAxis=list("Survival"),
  xAxisTitle="Survival (days)",
  yAxisTitle="Number of Subjects"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-alcoholtobaccot-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics, p. 179.",
  graphType="Scatter2D",
  histogramBins=5,
  showHistogram=TRUE,
  title="Average weekly household spending, in British pounds, on tobacco products\nand alcoholic beverages for each of the 11 regions of Great Britain.",
  xAxis=list("Tobacco", "Alcohol"),
  xAxisTitle="Pounds Spent",
  yAxisTitle="Frequency"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-alcoholtobaccot-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics, p. 179.",
  graphType="Scatter2D",
  histogramBins=5,
  histogramType="staggered",
  showHistogram=TRUE,
  title="Average weekly household spending, in British pounds, on tobacco products\nand alcoholic beverages for each of the 11 regions of Great Britain.",
  xAxis=list("Tobacco", "Alcohol"),
  xAxisTitle="Pounds Spent",
  yAxisTitle="Frequency"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-alcoholtobaccot-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics, p. 179.",
  graphType="Scatter2D",
  histogramBins=5,
  histogramType="stacked",
  showHistogram=TRUE,
  title="Average weekly household spending, in British pounds, on tobacco products\nand alcoholic beverages for each of the 11 regions of Great Britain.",
  xAxis=list("Tobacco", "Alcohol"),
  xAxisTitle="Pounds Spent",
  yAxisTitle="Frequency"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus-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/r/cX-datasaurus-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=5,
  histogramType="dodged",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  segregateVariablesBy=list("dataset"),
  showHistogram="dataset",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus-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/r/cX-datasaurus-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=5,
  histogramType="staggered",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  segregateVariablesBy=list("dataset"),
  showHistogram="dataset",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus-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/r/cX-datasaurus-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=5,
  histogramType="stacked",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  segregateVariablesBy=list("dataset"),
  showHistogram="dataset",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mtcars2-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/r/cX-mtcars2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramAsDotplot=TRUE,
  histogramBinWidth=3,
  showHistogram=TRUE,
  xAxis=list("mpg"),
  xAxisTitle="mpg",
  yAxisTitle="Frequency"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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",
  confidenceIntervalColorCoordinate=TRUE,
  graphType="Scatter2D",
  layoutAdjust=TRUE,
  scatterPlotMatrix=TRUE,
  showRegressionFit="Species",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  showRegressionFit=TRUE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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=FALSE,
  scatterPlotMatrix=TRUE,
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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",
  confidenceIntervalColorCoordinate=TRUE,
  graphType="Scatter2D",
  layoutAdjust=FALSE,
  scatterPlotMatrix=TRUE,
  scatterPlotMatrixType="first",
  showRegressionFit="Species",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-iris-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-iris-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisTextFontStyle="bold",
  axisTitleFontStyle="italic",
  citation="R. A. Fisher (1936). The use of multiple measurements in taxonomic problems. Annals of Eugenics 7 (2) => 179-188.",
  citationFontStyle="italic",
  fontStyle="italic",
  graphOrientation="vertical",
  graphType="Boxplot",
  showTransition=FALSE,
  smpTextFontStyle="italic",
  smpTextRotate=90,
  smpTitle="Species",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Iris flower data set",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width"),
  xAxis2Show=FALSE,
  afterRender=list(list("groupSamples", list("Species")), list("segregateSamples", list("Species")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cars-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-cars-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Dotplot",
  legendColumns=3,
  legendPosition="bottom",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Measurements on 38 1978-79 model automobiles.\nThe gas mileage in miles per gallon as measured by Consumers Union on a test track.",
  xAxis=list("MPG", "Weight", "Drive_Ratio", "Horsepower", "Displacement", "Cylinders"),
  afterRender=list(list("groupSamples", list("Country")), list("segregateSamples", list("Country")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateSamples", list("Factor1")), list("groupSamples", list("Factor1")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="Bar",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateVariables", list("Annt2")), list("segregateSamples", list("Factor1")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  layoutType="rows",
  showTransition=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("V1", "V2", "V3", "V4"),
  afterRender=list(list("segregateVariables", list("Annt2")), list("segregateSamples", list("Factor1")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scents-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-scents-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Boxplot",
  histogramBins=FALSE,
  showTransition=FALSE,
  smpTextRotate=90,
  smpTitle="Smoking Status",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3", "S-Trial 1", "S-Trial 2", "S-Trial 3"),
  afterRender=list(list("groupSamples", list("Smoker")), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-body2-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/r/cX-body2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=FALSE,
  xAxis=list("Weight", "Height"),
  afterRender=list(list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-kaplanmeier3-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/r/cX-kaplanmeier3-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  histogramBins=FALSE,
  invertCensored=TRUE,
  showConfidenceIntervals=FALSE,
  showDecorations=TRUE,
  showLegend=FALSE,
  xAxis=list("Survival", "Survival-Censor"),
  afterRender=list(list("switchSmpToAnnotation", list('Age')), list("switchSmpToAnnotation", list('Clin2')), list("switchSmpToAnnotation", list('Clin3')), list("addKMPlot"), list("createDOE"))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-layoutContinuous-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-layoutContinuous-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-layoutContinuous-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Bar",
  layoutAdjust=TRUE,
  layoutConfig=list(list(axisCoordinate=1, graphType="BarLine", showDataValues=1, xAxis=list("Duration"), xAxis2=list("Discontinued"), xAxisTitle="Duration of Treatment"), list(colorBy="Drug", legendColumns=5, legendInside=1, legendPosition="bottomLeft", showLegend=1, showLegendTitle=0, xAxisTitle="Change from Baseline (%)"), list(barLollipopFactor=1.5, barLollipopOpen=0, barType="lollipop", xAxisTitle="Baseline (mm)")),
  layoutTopology="3X1",
  showLegend=FALSE,
  stripBackgroundBorderColor="rgba(0,0,0,0)",
  stripShow=FALSE,
  stripTextColor="rgb(0,0,0)",
  title="Tumor Response and Duration by Subject Id",
  xAxis=list("Duration", "Discontinued", "Response", "Baseline"),
  xAxis2Show=FALSE,
  afterRender=list(list("segregateVariables", list("Panel")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-overlays-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-overlays-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-overlays-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  smpOverlayProperties=list(Binary=list(position="left", scheme="BlackAndWhite", type="Default"), Continuous=list(position="left", spectrum=list("green", "white"), type="Heatmap"), Discrete=list(position="left", thickness=30, type="Default"), Early=list(color="blue", position="right", thickness=50, type="Line"), Late=list(color="red", position="right", thickness=50, type="Line"), OnTime=list(color="green", position="right", thickness=50, type="Line"), PhaseA=list(position="left", thickness=50, type="Bar"), PhaseB=list(position="left", thickness=50, type="Bar"), PhaseC=list(position="left", thickness=50, type="Bar"), Temp=list(position="right", spectrum=list("blue", "white", "red"), thickness=100, type="Heatmap")),
  smpOverlays=list("PhaseA", "PhaseB", "PhaseC", "-", "-", "Binary", "Continuous", "Discrete", "-", "-", "Temp", "-", "-", "Early", "OnTime", "Late"),
  smpTextScaleFontFactor=1.1,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  varOverlayProperties=list(Cold=list(color="blue", position="bottom", thickness=50, type="StackedPercent"), Conc=list(position="top", thickness=40, type="Bar"), Desc=list(position="bottom", type="Text"), Drug=list(position="top", thickness=30, type="Increase"), Even=list(position="bottom", thickness=50, type="Bar"), Female=list(position="top", thickness=50, type="Pie"), Hot=list(color="red", position="bottom", thickness=50, type="StackedPercent"), Male=list(position="top", thickness=50, type="Pie"), Nice=list(color="green", position="bottom", thickness=50, type="Dotplot"), Odd=list(position="bottom", thickness=50, type="BarLine"), Site=list(position="top", type="Default"), Ugly=list(color="black", position="bottom", thickness=50, type="Dotplot")),
  varOverlays=list("Drug", "-", "Male", "Female", "-", "Site", "-", "Conc", "-", "Desc", "-", "Even", "Odd", "-", "-", "Nice", "Ugly", "-", "-", "Cold", "Hot"),
  varTextRotate=45,
  varTextScaleFontFactor=1.7,
  xAxis=list("V1", "V2", "V3", "V4", "V5", "V6")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus-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/r/cX-datasaurus-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Scatter2D",
  segregateVariablesBy=list("dataset"),
  showRegressionFit="dataset",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-datasaurus2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  layoutTopology="2X1",
  segregateVariablesBy=list("variable"),
  smpTextRotate=45,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-anscombeQuartet-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/r/cX-anscombeQuartet-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  confidenceIntervalColorCoordinate=TRUE,
  graphType="Scatter2D",
  segregateVariablesBy=list("dataset"),
  showRegressionFit="dataset",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("x", "y")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-oranges-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panel",
  blockContrast=TRUE,
  evenColor="rgb(226,236,248)",
  graphOrientation="vertical",
  graphType="Line",
  legendInside=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="topLeft",
  panelBackgroundColor="rgb(226,236,248)",
  smpTextRotate=90,
  smpTitle="Days Old",
  theme="GGPlot",
  title="Growth of Orange Trees",
  xAxis=list(1, 2, 3, 4, 5),
  xAxisTitle="Circumference (mm)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-oranges2-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/r/cX-oranges2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Tree",
  graphOrientation="horizontal",
  graphType="Scatter2D",
  lineBy="Tree",
  showLegend=FALSE,
  title="Growth of Orange Trees",
  xAxis=list("Days Old"),
  yAxis=list("Circumference (mm)")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="Line",
  legendPosition="right",
  lineDecoration="pattern",
  smpTextRotate=90,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  splitSamplesBy="Factor3",
  theme="blackAndWhite",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-line-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-line-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Line",
  lineErrorType="area",
  lineType="spline",
  xAxis=list("Var1", "Var2"),
  afterRender=list(list("groupSamples", list("Time")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-timeline-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/r/cX-timeline-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  citation="https://www.molbiolcell.org/doi/full/10.1091/mbc.e17-03-0136",
  colorBy="Condition",
  graphType="Scatter2D",
  lineBy="Condition",
  ribbonBy=list("CI_upper", "CI_lower"),
  ribbonByType="area",
  showTransition=FALSE,
  title="Spatiotemporal Control of RhoGTPase Activation",
  xAxis=list("Time"),
  xAxisTitle="Time [s]",
  yAxis=list("mean"),
  yAxisTitle="Ratio YFP/CFP [-]"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-timeline2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-timeline2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  citation="https://www.molbiolcell.org/doi/full/10.1091/mbc.e17-03-0136",
  colorBy="Condition",
  colorScheme="Rpalette",
  graphType="Scatter2D",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  scatterType="line",
  showTransition=FALSE,
  title="Spatiotemporal Control of RhoGTPase Activation",
  xAxis=list("Time"),
  xAxisTitle="Time [s]",
  yAxis=list("Cell-1", "Cell-2", "Cell-3", "Cell-4", "Cell-5", "Cell-6", "Cell-7", "Cell-8", "Cell-9", "Cell-10", "Cell-11", "Cell-12", "Cell-13", "Cell-14", "Cell-15", "Cell-16", "Cell-17", "Cell-18", "Cell-19", "Cell-20", "Cell-21", "Cell-22", "Cell-23", "Cell-24", "Cell-25", "Cell-26", "Cell-27", "Cell-28", "Cell-29", "Cell-30", "Cell-31", "Cell-32", "Cell-33", "Cell-34", "Cell-35", "Cell-36", "Cell-37", "Cell-38", "Cell-39", "Cell-40", "Cell-41", "Cell-42", "Cell-43", "Cell-44", "Cell-45", "Cell-46", "Cell-47", "Cell-48", "Cell-49", "Cell-50", "Cell-51", "Cell-52", "Cell-53", "Cell-54", "Cell-55", "Cell-56", "Cell-57", "Cell-58", "Cell-59", "Cell-60", "Cell-61", "Cell-62", "Cell-63"),
  yAxisTitle="Ratio YFP/CFP [-]"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-lollipop-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  barType="lollipop",
  colorScheme="CanvasXpress",
  dataPointSizeScaleFactor=6,
  graphType="Bar",
  widthFactor=0.6,
  xAxis=list("V1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-lollipop2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-lollipop2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  barLollipopOpen=TRUE,
  barType="lollipopBullet",
  colorBy="Color",
  colorScheme="GGPlot",
  dataPointSizeScaleFactor=7,
  graphType="Bar",
  marginBottom=50,
  marginLeft=50,
  marginRight=50,
  marginTop=50,
  maxTextSize=80,
  rangeColors=list("rgb(200,200,200)"),
  setMaxX=150,
  setMinX=-150,
  showDataValues=TRUE,
  showLegend=FALSE,
  title="Occupations",
  xAxis=list("Var1"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-OlympicMedalsT-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorBy="Total",
  graphType="Map",
  legendPosition="bottom",
  mapId="medals",
  theme="tableau",
  title="Total Number of Olympic Medals in Paris - 2024",
  topoJSON="https://www.canvasxpress.org/data/json/world.geojson"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-CO2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-CO2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="CO2",
  graphType="Map",
  legendPosition="left",
  mapId="countries",
  theme="solarized",
  title="CO2 Emmisions During 2018",
  topoJSON="https://www.canvasxpress.org/data/json/world.geojson"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="ISO_A3",
  decorations=list(connections=list(list(color="red", source=list(40.7, -74), target=list(37.7, -122), type="spline"), list(color="red", source=list(40.7, -74), target=list(25.7, -80.1), type="spline"), list(color="red", source=list(37.7, -122), target=list(25.7, -80.1), type="splineDashed")), marker=list(list(color="blue", coords=list(40.7, -74), label="New York", shape="teardrop", size=5), list(color="blue", coords=list(37.7, -122), label="San Francisco", shape="teardrop", size=5), list(color="blue", coords=list(25.7, -80.1), label="Miami", shape="teardrop", size=5), list(color="green", coords=list(41.8, -87.6), label="Chicago", shape="circle", size=4), list(color="green", coords=list(36.1, -115.1), label="Las Vegas", shape="circle", size=3), list(color="black", coords=list(42.3, -71), label="Boston", shape="star", size=6))),
  graphType="Map",
  mapConfig=list(center=list(34.7, -96.1), zoom=3.2),
  mapId="colorCountries",
  showLegend=FALSE,
  topoJSON="https://www.canvasxpress.org/data/json/world.geojson"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-election2000-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/r/cX-election2000-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Winner",
  graphType="Map",
  legendOrder=list(Winner=list("Republican", "Democrat")),
  mapId="albersStates",
  mapProjection="albers",
  theme="wallStreetJournal",
  title="2000 Presidential Elections",
  topoJSON="https://www.canvasxpress.org/data/json/usa-albers-states.json"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-election2000-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/r/cX-election2000-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Winner",
  decorations=list(pie=list(list(colors=list("blue", "red", "yellow", "green"), size=2.5, smps=list("Democrat", "Republican", "Libertarian", "Other")))),
  graphType="Map",
  legendColumns=4,
  legendOrder=list(Winner=list("Republican", "Democrat")),
  mapId="albersStatesPie",
  mapProjection="albers",
  sizeBy="Total",
  theme="wallStreetJournal",
  title="2000 Presidential Elections",
  topoJSON="https://www.canvasxpress.org/data/json/usa-albers-states.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="Order",
  graphType="Map",
  legendPosition="bottom",
  mapId="albersCounties",
  title="Mercator Projection",
  topoJSON="https://www.canvasxpress.org/data/json/usa-albers-counties.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="state_fips",
  graphType="Map",
  legendPosition="bottom",
  mapId="mercatorCounties",
  mapProjection="albers",
  title="Albers Projection",
  topoJSON="https://www.canvasxpress.org/data/json/usa-albers-counties.json"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-colombia-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  colorBy="Prop1",
  colorSpectrum=list("rgb(247,252,253)", "rgb(229,245,249)", "rgb(204,236,230)", "rgb(153,216,201)", "rgb(102,194,164)", "rgb(65,174,118)", "rgb(35,139,69)", "rgb(0,109,44)", "rgb(0,68,27)"),
  decorations=list(marker=list(list(color="red", coords=list(10.3932, -75.4832), label="Cartagena", shape="teardrop", size=4), list(color="blue", coords=list(12.5769, -81.7051), label="San Andres", shape="teardrop", size=6))),
  graphType="Map",
  legendInside=TRUE,
  legendPosition="bottomLeft",
  mapId="colombia",
  mapPropertyId="ID_1",
  topoJSON="https://www.canvasxpress.org/data/maps/COL.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="variable",
  colorScheme="Light",
  graphType="Map",
  legendInside=TRUE,
  legendPosition="bottomLeft",
  legendTextScaleFontFactor=0.85,
  mapId="italy",
  topoJSON="https://www.canvasxpress.org/data/maps/ITA.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  background="black",
  graphType="Map",
  mapColor="black",
  mapId="spain",
  mapOutlineColor="white",
  topoJSON="https://www.canvasxpress.org/data/maps/ESP.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="Order",
  graphType="Map",
  mapConfig=list(zoom=3.2),
  mapConfigFeatures=list("1"=list(scale=list(0.5, 0.8), translate=list(-100, -30)), "11"=list(scale=list(1.5, 1.5), translate=list(85, -5))),
  mapId="customUSA",
  topoJSON="https://www.canvasxpress.org/data/maps/USA.json"
)
library(canvasXpress)
canvasXpress(
  data=FALSE,
  colorBy="varId",
  decorations=list(connections=list(list(color="red", source=list(40.7, -74), target=list(37.7, -122), type="spline"), list(color="red", source=list(40.7, -74), target=list(25.7, -80.1), type="spline"), list(color="red", source=list(37.7, -122), target=list(25.7, -80.1), type="splineDashed")), marker=list(list(color="blue", coords=list(40.7, -74), label="New York", shape="teardrop", size=5), list(color="blue", coords=list(37.7, -122), label="San Francisco", shape="teardrop", size=5), list(color="blue", coords=list(25.7, -80.1), label="Miami", shape="teardrop", size=5), list(color="green", coords=list(41.8, -87.6), label="Chicago", shape="circle", size=4), list(color="green", coords=list(36.1, -115.1), label="Las Vegas", shape="circle", size=3), list(color="black", coords=list(42.3, -71), label="Boston", shape="star", size=6))),
  graphType="Map",
  mapConfig=list(center=list(-90, 30)),
  mapGraticuleShow=TRUE,
  mapGraticuleType="solid",
  mapId="worldCountries",
  mapProjection="orthographic",
  showLegend=FALSE,
  title="Ortographic Projection",
  topoJSON="https://www.canvasxpress.org/data/json/worldLow.json"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="gauge",
  rangeSegments=list(0, 25, 50, 75, 100),
  setMax=100,
  setMin=0,
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="speedometer",
  rangeSegments=list(0, 25, 50, 75, 200),
  setMax=200,
  setMin=0,
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="digital",
  rangeSegments=list(0, 25, 50, 75, 100),
  setMax=100,
  setMin=0,
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="state",
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="horizontal",
  setMax=100,
  setMin=0,
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Meter",
  meterType="vertical",
  rangeSegments=list(0, 25, 50, 75, 100),
  setMax=100,
  setMin=0,
  xAxis=list("Performance")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-meter2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-meter2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Meter",
  meterType="number",
  meterVar="Revenue",
  xAxis=list("Revenue")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-meter3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Meter",
  groupingFactors=list("Quarter"),
  meterType="digital",
  meterVar="Revenue",
  summaryType="sum",
  xAxis=list("Revenue")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-meter4-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-meter4-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Meter",
  groupingFactors=list("cyl"),
  meterType="gauge",
  meterVar="mpg",
  summaryType="average",
  xAxis=list("mpg")
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserable-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserable-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  colorNodeBy="group",
  colorSpectrum=list("purple", "blue", "cyan", "green", "yellow", "orange", "red"),
  graphType="Network",
  networkLayoutType="forceDirected",
  showAnimation=TRUE,
  title="Les Miserable"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserableBH-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserableBH-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  colorNodeBy="group",
  colorSpectrum=list("purple", "blue", "cyan", "green", "yellow", "orange", "red"),
  graphType="Network",
  networkLayoutType="forceDirected",
  showAnimation=TRUE,
  title="Les Miserable",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-miserables-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-miserables-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  colorNodeBy="group",
  graphType="Network",
  networkColaJaccardLinkLengthDefault=0.7,
  networkColaJaccardLinkLengths=40,
  networkColaStartUnconstrainedIterations=50,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-miserablesG-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-miserablesG-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
groups=read.table("https://www.canvasxpress.org/data/r/cX-miserablesG-groups.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  groupData=groups,
  colorNodeBy="group",
  graphType="Network",
  networkColaAvoidOverlaps=TRUE,
  networkColaJaccardLinkLengthDefault=0.7,
  networkColaJaccardLinkLengths=40,
  networkColaStartUnconstrainedIterations=50,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-miserables-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-miserables-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  colorNodeBy="group",
  graphType="Network",
  is3DNetwork=TRUE,
  networkColaJaccardLinkLengthDefault=0.7,
  networkColaJaccardLinkLengths=40,
  networkColaStartUnconstrainedIterations=50,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-miserablesC-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-miserablesC-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  colorNodeBy="group",
  graphType="Network",
  networkColaJaccardLinkLengthDefault=0.7,
  networkColaJaccardLinkLengths=60,
  networkColaStartUnconstrainedIterations=30,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-dunart-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-dunart-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
groups=read.table("https://www.canvasxpress.org/data/r/cX-dunart-groups.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
constraints=read.table("https://www.canvasxpress.org/data/r/cX-dunart-constraints.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  groupData=groups,
  constraintData=constraints,
  graphType="Network",
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-chris-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-chris-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  graphType="Network",
  networkColaStartUnconstrainedIterations=30,
  networkColaSymmetricDiffLinkLengths=5,
  networkLayoutType="cola",
  nodeColor="rgb(31,119,180)",
  nodeSizeScaleFactor=0.5
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
constraints=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-constraints.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  constraintData=constraints,
  graphType="Network",
  networkColaAllConstraintsIterations=20,
  networkColaAvoidOverlaps=TRUE,
  networkColaFlowLayoutAxis="y",
  networkColaFlowLayoutSeparation=30,
  networkColaStartUnconstrainedIterations=10,
  networkColaSymmetricDiffLinkLengths=6,
  networkColaUserConstraintIterations=20,
  networkLayoutType="cola",
  nodeColor="rgb(31,119,180)",
  nodeSizeScaleFactor=0.5
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
constraints=read.table("https://www.canvasxpress.org/data/r/cX-chrisC-constraints.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  constraintData=constraints,
  graphType="Network",
  is3DNetwork=TRUE,
  networkColaAllConstraintsIterations=20,
  networkColaAvoidOverlaps=TRUE,
  networkColaFlowLayoutAxis="y",
  networkColaFlowLayoutSeparation=30,
  networkColaStartUnconstrainedIterations=10,
  networkColaSymmetricDiffLinkLengths=6,
  networkColaUserConstraintIterations=20,
  networkLayoutType="cola",
  nodeColor="rgb(31,119,180)",
  nodeSizeScaleFactor=0.5
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-hierGroup-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-hierGroup-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
groups=read.table("https://www.canvasxpress.org/data/r/cX-hierGroup-groups.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  groupData=groups,
  edgeColor="rgb(122,78,79)",
  edgeThickness=3,
  graphType="Network",
  networkColaAllConstraintsIterations=50,
  networkColaAvoidOverlaps=TRUE,
  networkColaGridSnapIterations=50,
  networkColaLinkDistance=80,
  networkColaStartUnconstrainedIterations=100,
  networkColaUserConstraintIterations=0,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-constraints-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-constraints-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
constraints=read.table("https://www.canvasxpress.org/data/r/cX-constraints-constraints.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  constraintData=constraints,
  edgeColor="rgb(122,78,79)",
  edgeThickness=3,
  graphType="Network",
  networkColaAllConstraintsIterations=10,
  networkColaAvoidOverlaps=TRUE,
  networkColaHandleDisconnected=TRUE,
  networkColaLinkDistance=80,
  networkColaStartUnconstrainedIterations=10,
  networkColaUserConstraintIterations=10,
  networkLayoutType="cola"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserableC-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-lesmiserableC-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  background="rgb(245,245,245)",
  colorNodeBy="group",
  graphType="Network",
  networkLayoutType="circular",
  nodeScaleFontFactor=1.8,
  showAnimation=TRUE,
  showLegend=FALSE,
  showNodeNameSizeThreshold=25,
  showNodeNameThreshold=100,
  sizeNodeBy="nodeEdges",
  title="Les Miserable"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-networkradial-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-networkradial-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  graphType="Network",
  networkLayoutType="radial",
  nodeFontColor="rgb(29,34,43)",
  nodeScaleFontFactor=2,
  showAnimation=TRUE,
  title="Radial Network"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-networkbasic-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-networkbasic-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  calculateLayout=FALSE,
  decorations=list("exp1", "exp2", "exp3"),
  decorationsPosition="top",
  decorationsType="bar",
  graphType="Network",
  networkFreezeOnLoad=TRUE,
  nodeFontColor="rgb(29,34,43)",
  showAnimation=TRUE,
  showDecorations=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-networkkarate-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-networkkarate-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  coordinateNetworkConvexHullCommunityColor=TRUE,
  graphType="Network",
  showNetworkCommunities=TRUE,
  title="Zachary's famous Karate Club"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-wpapoptosis-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-wpapoptosis-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  adjustBezier=FALSE,
  calculateLayout=FALSE,
  graphType="Network",
  networkFreeze=TRUE,
  networkNodesOnTop=FALSE,
  preScaleNetwork=FALSE,
  showNodeNameThreshold=20000,
  title="Apoptosis"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-wpapoptosis-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-wpapoptosis-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  adjustBezier=FALSE,
  calculateLayout=FALSE,
  colorNodeBy="Exp1",
  graphType="Network",
  networkFreeze=TRUE,
  networkNodesOnTop=FALSE,
  preScaleNetwork=FALSE,
  showNodeNameThreshold=20000,
  title="Apoptosis"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/xml/hsa05222.xml",
  appendNetworkData=list("https://www.canvasxpress.org/data/txt/hsa05222.txt", list(data=list("2"=list(Exp5=-3, Exp6=4, Exp7="H", Exp8=list(CL1=2, CL2=14, CL3=7), Exp9=list(CL1=32, CL2=1, CL3=5)), "3"=list(Exp5=-1, Exp6=15, Exp7="L", Exp8=list(CL1=2, CL2=40, CL3=22), Exp9=list(CL1=45, CL2=4)), "4"=list(Exp5=5, Exp6=40, Exp7="H", Exp8=list(CL1=32, CL2=4, CL3=15), Exp9=list(CL1=52, CL2=4)), "8"=list(Exp5=10, Exp6=24, Exp7="H", Exp8=list(CL1=12, CL2=4, CL3=1), Exp9=list(CL1=21, CL2=44, CL3=9)), "9"=list(Exp5=-8, Exp6=14, Exp7="M", Exp8=list(CL1=2, CL2=14, CL3=32), Exp9=list(CL1=12, CL2=4))), type="node")),
  colorNodeBy="Exp1",
  graphType="Network"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/xml/hsa05222.xml",
  appendNetworkData=list("https://www.canvasxpress.org/data/txt/hsa05222.txt", list(data=list("2"=list(Exp5=-3, Exp6=4, Exp7="H", Exp8=list(CL1=2, CL2=14, CL3=7), Exp9=list(CL1=32, CL2=1, CL3=5)), "3"=list(Exp5=-1, Exp6=15, Exp7="L", Exp8=list(CL1=2, CL2=40, CL3=22), Exp9=list(CL1=45, CL2=4)), "4"=list(Exp5=5, Exp6=40, Exp7="H", Exp8=list(CL1=32, CL2=4, CL3=15), Exp9=list(CL1=52, CL2=4)), "8"=list(Exp5=10, Exp6=24, Exp7="H", Exp8=list(CL1=12, CL2=4, CL3=1), Exp9=list(CL1=21, CL2=44, CL3=9)), "9"=list(Exp5=-8, Exp6=14, Exp7="M", Exp8=list(CL1=2, CL2=14, CL3=32), Exp9=list(CL1=12, CL2=4))), type="node")),
  decorations=list("Exp2", "Exp3"),
  decorationsHeight=18,
  decorationsPosition="right",
  decorationsType="pie",
  graphType="Network"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/xml/WP3624_95209.gpml",
  graphType="Network"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/xml/example.xgmml",
  graphType="Network"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/xml/Apoptosis.xml",
  graphType="Network"
)
library(canvasXpress)
canvasXpress(
  data="https://www.canvasxpress.org/data/txt/networkData.txt",
  colorNodeBy="name_mod1",
  graphType="Network",
  sizeEdgeBy="aa%1"
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-doctrine2-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-doctrine2-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-faker-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-faker-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-jquery-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-jquery-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-lichess-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-lichess-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-propel2-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-propel2-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-rails-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-rails-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-symfony-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-symfony-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-twig-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-twig-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-uptime-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-uptime-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  networkConvergenceThreshold=0.001,
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-wordpress-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-wordpress-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
nodes=read.table("https://www.canvasxpress.org/data/r/cX-zf2-nodes.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
edges=read.table("https://www.canvasxpress.org/data/r/cX-zf2-edges.txt", header=TRUE, sep="\t", quote="", fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  nodeData=nodes,
  edgeData=edges,
  edgeColor="rgb(158,202,225)",
  graphType="Network",
  useBarnesHutSimulation=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y3=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat3.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y4=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat4.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2, data3=y3, data4=y4),
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  oncoprintCNA="data2",
  oncoprintMUT="data3",
  overlaysThickness=100,
  xAxis=list("V1", "V2", "V3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y3=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat3.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y4=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat4.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2, data3=y3, data4=y4),
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  oncoprintCNA="data2",
  oncoprintMUT="data3",
  overlaysThickness=100,
  smpOverlayProperties=list(Annt2=list(position="right", type="Bar"), Annt3=list(type="Stacked"), Annt4=list(type="Stacked"), Annt5=list(type="Stacked")),
  smpOverlays=list("Annt1", "-", "Annt2", "Annt3", "Annt4", "Annt5"),
  xAxis=list("S1", "S2", "S3", "S4", "S5", "S6", "S7", "S8", "S9")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y3=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat3.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y4=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-dat4.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-oncoprint-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2, data3=y3, data4=y4),
  smpAnnot=x,
  varAnnot=z,
  graphType="Heatmap",
  oncoprintCNA="data2",
  oncoprintMUT="data3",
  overlaysThickness=100,
  patternBy="Pattern",
  patternByData="data4",
  smpOverlayProperties=list(Annt2=list(position="right", type="Bar"), Annt3=list(type="Stacked"), Annt4=list(type="Stacked"), Annt5=list(type="Stacked")),
  smpOverlays=list("Annt1", "-", "Annt2", "Annt3", "Annt4", "Annt5"),
  xAxis=list("S1", "S2", "S3", "S4", "S5", "S6", "S7", "S8", "S9")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-LungCancinoma-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y2=read.table("https://www.canvasxpress.org/data/r/cX-LungCancinoma-dat2.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y3=read.table("https://www.canvasxpress.org/data/r/cX-LungCancinoma-dat3.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
y4=read.table("https://www.canvasxpress.org/data/r/cX-LungCancinoma-dat4.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-LungCancinoma-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=list(y=y, data2=y2, data3=y3, data4=y4),
  varAnnot=z,
  graphType="Heatmap",
  oncoprintCNA="data3",
  oncoprintMUT="data4",
  overlaysThickness=100,
  xAxis=list("TCGA-18-3406-01", "TCGA-18-3407-01", "TCGA-18-3408-01", "TCGA-18-3409-01", "TCGA-18-3410-01", "TCGA-18-3411-01", "TCGA-18-3412-01", "TCGA-18-3414-01", "TCGA-18-3415-01", "TCGA-18-3416-01", "TCGA-18-3417-01", "TCGA-18-3419-01", "TCGA-18-3421-01", "TCGA-18-4083-01", "TCGA-18-4086-01", "TCGA-18-4721-01", "TCGA-18-5592-01", "TCGA-18-5595-01", "TCGA-21-1070-01", "TCGA-21-1071-01", "TCGA-21-1076-01", "TCGA-21-1077-01", "TCGA-21-1078-01", "TCGA-21-1081-01", "TCGA-21-5782-01", "TCGA-21-5784-01", "TCGA-21-5786-01", "TCGA-21-5787-01", "TCGA-22-0944-01", "TCGA-22-1002-01", "TCGA-22-1011-01", "TCGA-22-1012-01", "TCGA-22-1016-01", "TCGA-22-4591-01", "TCGA-22-4593-01", "TCGA-22-4595-01", "TCGA-22-4599-01", "TCGA-22-4601-01", "TCGA-22-4604-01", "TCGA-22-4607-01", "TCGA-22-4613-01", "TCGA-22-5471-01", "TCGA-22-5472-01", "TCGA-22-5473-01", "TCGA-22-5474-01", "TCGA-22-5477-01", "TCGA-22-5478-01", "TCGA-22-5480-01", "TCGA-22-5482-01", "TCGA-22-5485-01", "TCGA-22-5489-01", "TCGA-22-5491-01", "TCGA-22-5492-01", "TCGA-33-4532-01", "TCGA-33-4533-01", "TCGA-33-4538-01", "TCGA-33-4547-01", "TCGA-33-4566-01", "TCGA-33-4582-01", "TCGA-33-4583-01", "TCGA-33-4586-01", "TCGA-33-6737-01", "TCGA-34-2596-01", "TCGA-34-2600-01", "TCGA-34-2608-01", "TCGA-34-5231-01", "TCGA-34-5232-01", "TCGA-34-5234-01", "TCGA-34-5236-01", "TCGA-34-5239-01", "TCGA-34-5240-01", "TCGA-34-5241-01", "TCGA-34-5927-01", "TCGA-34-5928-01", "TCGA-34-5929-01", "TCGA-37-3783-01", "TCGA-37-3789-01", "TCGA-37-4133-01", "TCGA-37-4135-01", "TCGA-37-4141-01", "TCGA-37-5819-01", "TCGA-39-5016-01", "TCGA-39-5019-01", "TCGA-39-5021-01", "TCGA-39-5022-01", "TCGA-39-5024-01", "TCGA-39-5027-01", "TCGA-39-5028-01", "TCGA-39-5029-01", "TCGA-39-5030-01", "TCGA-39-5031-01", "TCGA-39-5035-01", "TCGA-39-5036-01", "TCGA-39-5037-01", "TCGA-39-5039-01", "TCGA-43-2578-01", "TCGA-43-3394-01", "TCGA-43-3920-01", "TCGA-43-5668-01", "TCGA-43-6143-01", "TCGA-43-6647-01", "TCGA-43-6770-01", "TCGA-43-6771-01", "TCGA-46-3765-01", "TCGA-46-3766-01", "TCGA-46-3767-01", "TCGA-46-3768-01", "TCGA-46-3769-01", "TCGA-46-6025-01", "TCGA-46-6026-01", "TCGA-51-4079-01", "TCGA-51-4080-01", "TCGA-51-4081-01", "TCGA-56-1622-01", "TCGA-56-5897-01", "TCGA-56-5898-01", "TCGA-56-6545-01", "TCGA-56-6546-01", "TCGA-60-2698-01", "TCGA-60-2707-01", "TCGA-60-2708-01", "TCGA-60-2709-01", "TCGA-60-2710-01", "TCGA-60-2711-01", "TCGA-60-2712-01", "TCGA-60-2713-01", "TCGA-60-2715-01", "TCGA-60-2719-01", "TCGA-60-2720-01", "TCGA-60-2721-01", "TCGA-60-2722-01", "TCGA-60-2723-01", "TCGA-60-2724-01", "TCGA-60-2725-01", "TCGA-60-2726-01", "TCGA-63-5128-01", "TCGA-63-5131-01", "TCGA-63-6202-01", "TCGA-66-2727-01", "TCGA-66-2734-01", "TCGA-66-2742-01", "TCGA-66-2744-01", "TCGA-66-2754-01", "TCGA-66-2755-01", "TCGA-66-2756-01", "TCGA-66-2757-01", "TCGA-66-2758-01", "TCGA-66-2759-01", "TCGA-66-2763-01", "TCGA-66-2765-01", "TCGA-66-2766-01", "TCGA-66-2767-01", "TCGA-66-2768-01", "TCGA-66-2770-01", "TCGA-66-2771-01", "TCGA-66-2773-01", "TCGA-66-2777-01", "TCGA-66-2778-01", "TCGA-66-2780-01", "TCGA-66-2781-01", "TCGA-66-2782-01", "TCGA-66-2783-01", "TCGA-66-2785-01", "TCGA-66-2786-01", "TCGA-66-2787-01", "TCGA-66-2788-01", "TCGA-66-2789-01", "TCGA-66-2791-01", "TCGA-66-2792-01", "TCGA-66-2793-01", "TCGA-66-2794-01", "TCGA-66-2795-01", "TCGA-66-2800-01", "TCGA-70-6722-01", "TCGA-70-6723-01", "TCGA-85-6175-01", "TCGA-85-6560-01", "TCGA-85-6561-01")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Species",
  graphOrientation="vertical",
  graphType="ParallelCoordinates",
  lineDecoration=FALSE,
  showTransition=FALSE,
  smpTextRotate=90,
  title="Iris flower data set",
  xAxis=list("s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13", "s14", "s15", "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31", "s32", "s33", "s34", "s35", "s36", "s37", "s38", "s39", "s40", "s41", "s42", "s43", "s44", "s45", "s46", "s47", "s48", "s49", "s50", "s51", "s52", "s53", "s54", "s55", "s56", "s57", "s58", "s59", "s60", "s61", "s62", "s63", "s64", "s65", "s66", "s67", "s68", "s69", "s70", "s71", "s72", "s73", "s74", "s75", "s76", "s77", "s78", "s79", "s80", "s81", "s82", "s83", "s84", "s85", "s86", "s87", "s88", "s89", "s90", "s91", "s92", "s93", "s94", "s95", "s96", "s97", "s98", "s99", "s100", "s101", "s102", "s103", "s104", "s105", "s106", "s107", "s108", "s109", "s110", "s111", "s112", "s113", "s114", "s115", "s116", "s117", "s118", "s119", "s120", "s121", "s122", "s123", "s124", "s125", "s126", "s127", "s128", "s129", "s130", "s131", "s132", "s133", "s134", "s135", "s136", "s137", "s138", "s139", "s140", "s141", "s142", "s143", "s144", "s145", "s146", "s147", "s148", "s149", "s150")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Species",
  graphOrientation="vertical",
  graphType="ParallelCoordinates",
  lineDecoration=FALSE,
  smpTextRotate=90,
  title="Iris flower data set",
  xAxis=list("s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "s13", "s14", "s15", "s16", "s17", "s18", "s19", "s20", "s21", "s22", "s23", "s24", "s25", "s26", "s27", "s28", "s29", "s30", "s31", "s32", "s33", "s34", "s35", "s36", "s37", "s38", "s39", "s40", "s41", "s42", "s43", "s44", "s45", "s46", "s47", "s48", "s49", "s50", "s51", "s52", "s53", "s54", "s55", "s56", "s57", "s58", "s59", "s60", "s61", "s62", "s63", "s64", "s65", "s66", "s67", "s68", "s69", "s70", "s71", "s72", "s73", "s74", "s75", "s76", "s77", "s78", "s79", "s80", "s81", "s82", "s83", "s84", "s85", "s86", "s87", "s88", "s89", "s90", "s91", "s92", "s93", "s94", "s95", "s96", "s97", "s98", "s99", "s100", "s101", "s102", "s103", "s104", "s105", "s106", "s107", "s108", "s109", "s110", "s111", "s112", "s113", "s114", "s115", "s116", "s117", "s118", "s119", "s120", "s121", "s122", "s123", "s124", "s125", "s126", "s127", "s128", "s129", "s130", "s131", "s132", "s133", "s134", "s135", "s136", "s137", "s138", "s139", "s140", "s141", "s142", "s143", "s144", "s145", "s146", "s147", "s148", "s149", "s150"),
  afterRender=list(list("switchAnnotationToSmp", list("Species")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Pie",
  layout="2X3",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  pieSegmentLabels="inside",
  pieSegmentPrecision=0,
  pieSegmentSeparation=1,
  showPieGrid=TRUE,
  showPieSampleLabel=TRUE,
  showTransition=FALSE,
  xAxis=list("S1", "S2", "S3", "S4", "S5", "S6")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Pie",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  pieSegmentLabels="outside",
  pieSegmentPrecision=1,
  pieSegmentSeparation=2,
  pieType="solid",
  showTransition=FALSE,
  xAxis=list("S1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  ringGraphType=list("line"),
  showTransition=FALSE,
  title="Radar - Line",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  ringGraphType=list("area"),
  showTransition=FALSE,
  title="Radar - Area",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  ringGraphType=list("bar"),
  showTransition=FALSE,
  title="Radar - Bar",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  ringGraphType=list("dot"),
  showTransition=FALSE,
  title="Radar - Scatter",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  ringGraphType=list("stacked"),
  showTransition=FALSE,
  title="Radar - Stacked",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=180,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  ringGraphType=list("line"),
  showTransition=FALSE,
  title="Half Radar",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=180,
  circularRotate=-90,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  ringGraphType=list("line"),
  showTransition=FALSE,
  title="Rotated Half Radar",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  circularArc=360,
  circularRotate=0,
  circularType="radar",
  colorScheme="Bootstrap",
  graphType="Circular",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  ringGraphType=list("line"),
  showTransition=FALSE,
  smpOverlays=list("Factor3", "-", "Factor1", "Factor2"),
  title="Radar with Overlays",
  transitionStep=50,
  transitionTime=1500,
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-radar-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-radar-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularTrackGraphType=list("scatter"),
  circularType="radar",
  colorBy="color",
  colorKey=list(color=list(blue="#0000FF", brown="#A52A2A", green="#00FF00", red="#FF0000")),
  graphType="Circular",
  rAxis="radians",
  rAxisPercentShow=FALSE,
  rAxisShow=TRUE,
  setMaxR=6.28318530717959,
  setMaxY=5,
  setMinR=0,
  setMinY=0,
  showLegend=TRUE,
  showSampleNames=FALSE,
  sizeBy="size",
  yAxis=list("radius")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  scatterPlotMatrixType="both",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  scatterPlotMatrixType="upper",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  scatterPlotMatrixType="lower",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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="Species",
  scatterPlotMatrixType="correlation",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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="Species",
  scatterPlotMatrixType="correlationHistogram",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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="Species",
  scatterPlotMatrixType="correlationDensity",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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="Species",
  scatterPlotMatrixType="all",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/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,
  scatterPlotMatrixType="first",
  xAxis=list("Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sankey-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sankey-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Sankey",
  sankeyNodesColor="rgba(20, 250, 50, 0.4)",
  sankeySource="Source",
  sankeyTarget="Target",
  showTransition=FALSE,
  title="Single Level Sankey",
  xAxis=list("Weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sankey-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sankey-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Weight",
  graphOrientation="vertical",
  graphType="Sankey",
  sankeySource="Source",
  sankeyTarget="Target",
  title="Single Level Sankey",
  xAxis=list("Weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sankey2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sankey2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Sankey",
  sankeyNodesColor="rgba(20, 150, 250, 0.4)",
  sankeySource="Source",
  sankeyTarget="Target",
  title="Multilevel Sankey",
  xAxis=list("Weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sankey2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sankey2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Weight",
  graphOrientation="vertical",
  graphType="Sankey",
  sankeySource="Source",
  sankeyTarget="Target",
  title="Multilevel Sankey",
  xAxis=list("Weight")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-titanicR-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-titanicR-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Survived",
  colorScheme="GGPlot",
  graphOrientation="horizontal",
  graphType="Sankey",
  sankeyAxes=list("Class", "Sex", "Age", "Survived"),
  sankeyNodesColor="rgb(255,255,255)",
  scheme="GGPlot",
  title="Alluvial Plot",
  xAxis=list("Freq")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sankey3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sankey3-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Department",
  graphType="Sankey",
  sankeyAxes=list("Department", "Division", "Requester", "Program", "Operator", "Tool"),
  sankeyNodesColor="rgb(255,255,255)",
  title="Alluvial Plot",
  xAxis=list("Ticket")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-alcoholtobaccot-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics, p. 179.",
  decorations=list(marker=list(list(sample=list("Alcohol", "Tobacco"), text="Maybe an Outlier?", variable="Northern Ireland", x=0.45, y=0.18))),
  graphType="Scatter2D",
  showTransition=FALSE,
  title="Average weekly household spending, in British pounds, on tobacco products\nand alcoholic beverages for each of the 11 regions of Great Britain.",
  xAxis=list("Alcohol"),
  yAxis=list("Tobacco")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-spider-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/r/cX-spider-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Response",
  graphType="Scatter2D",
  legendBox=TRUE,
  legendInside=TRUE,
  legendPosition="topRight",
  lineBy="Subject",
  title="Tumor Response by Week",
  xAxis=list("Weeks"),
  yAxis=list("Change From Baseline %")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-loess2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Scatter2D",
  showConfidenceIntervals=TRUE,
  showLoessFit=TRUE,
  title="Loess Fit",
  xAxis=list("E"),
  yAxis=list("NOx")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  citation="Hirsch, A. R., and Johnston, L. H. Odors and Learning, Smell & Taste Treatment and Research Foundation, Chicago.",
  graphType="Scatter2D",
  histogramBins=5,
  histogramStat="count",
  legendBox=TRUE,
  setMaxX=100,
  setMaxY=150,
  setMinX=0,
  setMinY=0,
  shapeBy="Smoker",
  showHistogramBars=TRUE,
  showTransition=FALSE,
  sizeBy="Age",
  title="Data on the time subjects required to complete a pencil and paper maze\nwhen they were smelling a floral scent and when they were not.",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  xAxisExact=TRUE,
  xAxisHistogramShow=TRUE,
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  yAxisExact=TRUE,
  yAxisHistogramShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mtcars-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  asSampleFactors=list("cyl"),
  colorBy="cyl",
  confidenceIntervalColorCoordinate=TRUE,
  graphType="Scatter2D",
  legendBox=TRUE,
  showRegressionFit="cyl",
  stringVariableFactors=list("cyl"),
  xAxis=list("wt"),
  yAxis=list("mpg")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-mtcars-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  asSampleFactors=list("cyl"),
  colorBy="cyl",
  confidenceIntervalColorCoordinate=TRUE,
  graphType="Scatter2D",
  legendBox=TRUE,
  showRegressionFit="cyl",
  showRegressionFullRange=TRUE,
  stringVariableFactors=list("cyl"),
  xAxis=list("wt"),
  yAxis=list("mpg")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scentst-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/r/cX-scentst-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  citation="Hirsch, A. R., and Johnston, L. H. Odors and Learning, Smell & Taste Treatment and Research Foundation, Chicago.",
  colorScheme="GreyHC",
  graphType="Scatter2D",
  histogramBins=5,
  histogramStat="count",
  legendBox=TRUE,
  objectBorderColor="rgb(0,0,0)",
  setMaxX=100,
  setMaxY=150,
  setMinX=0,
  setMinY=0,
  shapeBy="Smoker",
  showHistogramBars=TRUE,
  sizeBy="Age",
  title="Data on the time subjects required to complete a pencil and paper maze\nwhen they were smelling a floral scent and when they were not.",
  xAxis=list("U-Trial 1", "U-Trial 2", "U-Trial 3"),
  xAxisExact=TRUE,
  xAxisHistogramShow=TRUE,
  yAxis=list("S-Trial 1", "S-Trial 2", "S-Trial 3"),
  yAxisExact=TRUE,
  yAxisHistogramShow=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-ageheightt-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  citation="Moore, David S., and George P. McCabe (1989)",
  citationScaleFontFactor=0.75,
  graphType="Scatter2D",
  showRegressionFit=TRUE,
  title="Mean heights of a group of children in Kalama",
  xAxis=list("Age"),
  yAxis=list("Height")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-breastcancert-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  backgroundType="panel",
  citation="Velleman, P. F. and Hoaglin, D. C. (1981).\nApplications, Basics, and Computing of Exploratory Data Analysis. Belmont. CA :  Wadsworth, Inc., pp. 127-134.",
  colors=list("rgba(64,64,64,0.5)"),
  decorationsBackgroundColor="rgb(238,238,238)",
  decorationsBorderColor="rgb(0,0,0)",
  decorationsPosition="bottomRight",
  graphType="Scatter2D",
  legendBackgroundColor="rgba(255,255,255,0)",
  legendInside=TRUE,
  panelBackgroundColor="rgb(238,238,238)",
  showDecorations=TRUE,
  showRegressionFit=TRUE,
  showTransition=FALSE,
  title="Mean annual temperature (in degrees F) and Mortality Index for neoplasms of the female breast.",
  xAxis=list("Mortality"),
  xAxisGridMajorColor="rgb(255,255,255)",
  yAxis=list("Temperature"),
  yAxisGridMajorColor="rgb(255,255,255)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-nonlinearfit-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  decorations=list(nlfit=list(list(label="Custom Fit", param=list(164, 313, 0.031, -1.5, 1.2e-06, 1.9), type="cst"), list(label="Regular Fit", param=list(164, 313, 0.031, 1.5, 1.2e-06, 1.9), type="reg"))),
  graphType="Scatter2D",
  setMaxY=350,
  setMinY=100,
  showDecorations=TRUE,
  xAxis=list("Concentration"),
  xAxisTransform="log10",
  xAxisTransformTicks=TRUE,
  yAxis=list("V1"),
  yAxisExact=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatterR-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/r/cX-scatterR-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisAlgorithm="rPretty",
  backgroundType="panel",
  colorBy="Group",
  colors=list("rgba(0,104,139,0.5)", "rgba(205,0,0,0.5)", "rgba(64,64,64,0.5)"),
  decorations=list(line=list(list(color="rgba(205,0,0,0.5)", width=2, y=0.5), list(color="rgba(0,104,139,0.5)", width=2, y=-0.5))),
  graphType="Scatter2D",
  legendBackgroundColor="rgb(238,238,238)",
  legendBox=TRUE,
  legendBoxColor="rgb(0,0,0)",
  legendInside=TRUE,
  legendPosition="bottomRight",
  panelBackgroundColor="rgb(238,238,238)",
  showConfidenceIntervals=FALSE,
  showDecorations=TRUE,
  showLoessFit=TRUE,
  showTransition=FALSE,
  sizeBy="FC",
  sizes=list(4, 12, 14, 15, 16, 17, 18),
  title="Profile plot",
  xAxis=list("AveExpr"),
  xAxisGridMajorColor="rgb(255,255,255)",
  yAxis=list("logFC"),
  yAxisGridMajorColor="rgb(255,255,255)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatterR2-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/r/cX-scatterR2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="Group",
  colors=list("rgba(0,104,139,0.5)", "rgba(205,0,0,0.5)", "rgba(64,64,64,0.5)"),
  decorations=list(line=list(list(color="rgba(205,0,0,0.5)", width=2, x=0.5), list(color="rgba(0,104,139,0.5)", width=2, x=-0.5))),
  graphType="Scatter2D",
  hoverTemplate="Group :  {Group}
Gene : {vars}
logFC : {logFC}
-log-pVal : {-log-pVal}
FC : {FC}
", legendBackgroundColor="rgb(238,238,238)", legendBox=TRUE, legendBoxColor="rgb(0,0,0)", panelBackgroundColor="rgb(238,238,238)", showDecorations=TRUE, sizeBy="FC", sizes=list(4, 12, 14, 15, 16, 17, 18), title="Volcano plot", xAxis=list("logFC"), xAxisGridMajorColor="rgb(255,255,255)", yAxis=list("-log-pVal"), yAxisGridMajorColor="rgb(255,255,255)" )
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatterR3-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/r/cX-scatterR3-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisAlgorithm="rPretty",
  backgroundType="panel",
  colorBy="Group",
  colors=list("rgba(255,215,0,0.5)", "rgba(64,64,64,0.5)", "rgba(0,104,139,0.5)", "rgba(205,0,0,0.5)"),
  decorations=list(line=list(list(color="rgba(64,64,64,0.5)", width=2, x=0), list(color="rgba(64,64,64,0.5)", width=2, y=0), list(color="rgba(255,215,0,0.5)", width=2, x=-5, x2=5, y=-5, y2=5))),
  graphType="Scatter2D",
  legendBackgroundColor="rgb(238,238,238)",
  legendBox=TRUE,
  legendBoxColor="rgb(0,0,0)",
  legendInside=TRUE,
  legendPosition="bottomRight",
  panelBackgroundColor="rgb(238,238,238)",
  showDecorations=TRUE,
  showTransition=FALSE,
  sizeBy="Hit",
  sizeByShowLegend=FALSE,
  sizes=list(4, 14),
  title="Contrast plot",
  xAxis=list("logFC-X"),
  xAxisGridMajorColor="rgb(255,255,255)",
  yAxis=list("logFC-Y"),
  yAxisGridMajorColor="rgb(255,255,255)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatterR4-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  axisAlgorithm="rPretty",
  backgroundType="panel",
  colors=list("rgba(0,104,139,0.5)", "rgba(205,0,0,0.5)"),
  graphType="Scatter2D",
  legendBackgroundColor="rgba(255,255,255,0)",
  legendInside=TRUE,
  legendPosition="topRight",
  panelBackgroundColor="rgb(238,238,238)",
  title="Waterfall plot",
  xAxis=list("Row"),
  xAxisGridMajorColor="rgb(255,255,255)",
  yAxis=list("S1", "S2"),
  yAxisGridMajorColor="rgb(255,255,255)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-visium-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/r/cX-visium-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundImage="https://www.canvasxpress.org/assets/images/visium.png",
  backgroundType="panelImage",
  colorBy="signal",
  graphType="Scatter2D",
  plotBox=FALSE,
  scatterType="visium",
  title="Visium Spatial Transcriptomics",
  visiumFlip=FALSE,
  xAxis=list("imagecol"),
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE,
  yAxis=list("imagerow"),
  yAxisGridMajorShow=FALSE,
  yAxisGridMinorShow=FALSE,
  yAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-gwas-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  chromosomeLengths=list(1500, 1191, 1040, 945, 877, 825, 784, 750, 721, 696, 674, 655, 638, 622, 608, 595, 583, 572, 562, 553, 544, 535),
  decorations=list(line=list(list(color="rgb(255,0,0)", width=1, y=7), list(color="rgb(0,0,255)", width=1, y=5)), marker=list(list(align="left", offsetX=5, offsetY=0, rotate=-45, sample=list("Chr", "Pos", "-log10(pValue)"), text="rs4064", type="text", variable="rs4064"))),
  graphType="Scatter2D",
  highlightVar=list("rs13895", "rs11846"),
  manhattanMarkerChromosomeNumber="Chr",
  manhattanMarkerLogPValue="-log10(pValue)",
  manhattanMarkerPosition="Pos",
  scatterOutlineThreshold=5000,
  scatterType="manhattan",
  title="Manhattan Plot",
  xAxis=list("Pos"),
  yAxis=list("-log10(pValue)")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-fcyt-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  dataPointSize=5,
  graphType="Scatter2D",
  scatterOutlineThreshold=1,
  showScatterDensity=TRUE,
  xAxis=list("FL1-A"),
  xAxisTitle="FL1-A",
  xAxisTransform="log10",
  yAxis=list("FL2-A"),
  yAxisTitle="FL2-A",
  yAxisTransform="log10"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bump-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/r/cX-bump-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="group",
  dataPointSize=26,
  graphType="Bump",
  lineBy="group",
  theme="GGPlot"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisTextScaleFontFactor=0.5,
  axisTitleScaleFontFactor=0.5,
  colorBy="Species",
  graphType="Scatter3D",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  title="Iris Data Set",
  xAxis=list("Sepal.Length"),
  yAxis=list("Sepal.Width"),
  zAxis=list("Petal.Length")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/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/r/cX-irist-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  axisTextScaleFontFactor=0.5,
  axisTitleScaleFontFactor=0.5,
  colorBy="Species",
  ellipseBy="Species",
  graphType="Scatter3D",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  title="Iris Data Set",
  xAxis=list("Sepal.Length"),
  yAxis=list("Petal.Width"),
  zAxis=list("Petal.Length")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-loess3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Scatter3D",
  showConfidenceIntervals=TRUE,
  showLoessFit=TRUE,
  title="Loess Fit",
  xAxis=list("E"),
  xAxisExact=TRUE,
  yAxis=list("NOx"),
  yAxisExact=TRUE,
  zAxis=list("C"),
  zAxisExact=TRUE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatter3d-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Scatter3D",
  xAxis=list("S1"),
  yAxis=list("S2"),
  zAxis=list("S3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-scatter3d-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Scatter3D",
  scatterType="bar",
  xAxis=list("S1"),
  yAxis=list("S2"),
  zAxis=list("S3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic2-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  colorBy="Annt1",
  graphType="Scatter3D",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  shapeBy="Annt2",
  sizeBy="Annt3",
  xAxis=list("S1"),
  yAxis=list("S2"),
  zAxis=list("S3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bubble-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/r/cX-bubble-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Continent",
  graphType="ScatterBubble2D",
  showTransition=FALSE,
  xAxis=list("LifeExpectancy"),
  yAxis=list("GDPPerCapita"),
  yAxisTransform="log2",
  zAxis=list("Population")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="ScatterBubble2D",
  xAxis=list("S1", "S4"),
  yAxis=list("S2", "S5"),
  zAxis=list("S3", "S6")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bubble-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/r/cX-bubble-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="Continent",
  graphType="ScatterBubble2D",
  motionBy="Year",
  xAxis=list("LifeExpectancy"),
  yAxis=list("GDPPerCapita"),
  yAxisTransform="log2",
  zAxis=list("Population")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stacked2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-stacked2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorScheme="Blues",
  foreground="rgb(0,0,0)",
  graphOrientation="vertical",
  graphType="Stacked",
  groupingFactors=list("Factor1"),
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  objectBorderColor="rgb(0,0,0)",
  sampleSpaceFactor=1,
  showTransition=FALSE,
  title="Random Data",
  treemapBy=list("Factor2", "Factor3"),
  xAxis=list("Var1", "Var2", "Var3")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="Stacked",
  legendBackgroundColor=FALSE,
  sampleSpaceFactor=1,
  showDataValues=TRUE,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  gradient=TRUE,
  graphOrientation="vertical",
  graphType="Stacked",
  legendBackgroundColor=FALSE,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="Stacked",
  legendBackgroundColor=FALSE,
  showDataValues=TRUE,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  splitSamplesBy="Factor3",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-diverging-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  axisAlgorithm="wilkinson",
  colorScheme="CanvasXpress",
  graphOrientation="horizontal",
  graphType="Stacked",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  marginRight=20,
  showDataValues=TRUE,
  title="Diverging Stacked Graph",
  xAxis=list("Pants on Fire", "False", "Mostly False", "Half True", "Mostly True", "True"),
  xAxisTickFormat="%s%%"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="StackedLine",
  lineThickness=3,
  lineType="spline",
  showDataValues=TRUE,
  showTransition=FALSE,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Stacked-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  coordinateLineColor=TRUE,
  graphOrientation="horizontal",
  graphType="StackedLine",
  legendInside=TRUE,
  legendPosition="topRight",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Stacked-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="StackedPercent",
  legendBackgroundColor=FALSE,
  sampleSpaceFactor=1,
  showDataValues=TRUE,
  showTransition=FALSE,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  gradient=TRUE,
  graphOrientation="vertical",
  graphType="StackedPercent",
  legendBackgroundColor=FALSE,
  showDataValues=TRUE,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="horizontal",
  graphType="StackedPercent",
  legendBackgroundColor=FALSE,
  sampleSpaceFactor=1.5,
  smpTextScaleFontFactor=0.8,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  title="Random Data",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-diverging-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  axisAlgorithm="wilkinson",
  colorScheme="CanvasXpress",
  graphOrientation="horizontal",
  graphType="StackedPercent",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="bottom",
  marginRight=20,
  showDataValues=TRUE,
  title="Diverging Stacked Percent Graph",
  xAxis=list("Pants on Fire", "False", "Mostly False", "Half True", "Mostly True", "True"),
  xAxisTickFormat="%s%%"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-movieRoles-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-movieRoles-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-movieRoles-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  backgroundType="solid",
  barPath=TRUE,
  barPathColor="rgb(48,116,154)",
  barPathTransparency=1,
  colorBy="Color",
  colors=list("rgb(255,190,179)", "rgb(251,153,134)", "rgb(244,112,96)", "rgb(230,68,72)", "rgb(210,41,63)", "rgb(173,18,58)"),
  fontName="Waltograph",
  fontsExternal=list(list(name="Waltograph", url="https://www.canvasxpress.org/assets/fonts/waltograph42.otf")),
  graphOrientation="horizontal",
  graphType="StackedPercent",
  layoutCollapse=TRUE,
  legendBackgroundColor="rgb(63,149,180)",
  legendColumns=2,
  legendKeyBackgroundBorderColor="rgb(63,149,180)",
  legendKeyBackgroundColor="rgb(63,149,180)",
  legendPosition="bottom",
  legendTextColor="rgb(255,255,255)",
  legendTextScaleFontFactor=2,
  marginBottom=10,
  marginLeft=10,
  marginRight=50,
  marginTop=30,
  maxTextSize=80,
  objectBorderColor="rgba(255,255,255,0)",
  patternBy="InOut",
  patterns=list("solid", "stripeHorizontal", "hatchForward", "hatchReverse", "stripeVertical", "polkaDot"),
  plotBackgroundColor="rgb(63,149,180)",
  segregateVariablesBy=list("Gender"),
  showColorLegend=FALSE,
  showLegend=TRUE,
  showLegendTitle=FALSE,
  smpTextColor="rgb(255,255,255)",
  smpTextScaleFontFactor=1.2,
  stripBackgroundBorderColor="rgba(255,255,255,0)",
  stripBackgroundColor="rgba(255,255,255,0)",
  stripTextColor="rgb(255,255,255)",
  stripTextScaleFontFactor=2.2,
  title="Fewer Role Models",
  titleAlign="center",
  titleColor="rgb(252,157,156)",
  titleScaleFontFactor=4.5,
  widthFactor=1.1,
  xAxis=list("Females-in", "Females-out", "Males-in", "Males-out"),
  xAxis2Show=FALSE,
  xAxisGridMajorShow=FALSE,
  xAxisGridMinorShow=FALSE,
  xAxisShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphOrientation="vertical",
  graphType="StackedPercentLine",
  lineThickness=3,
  lineType="spline",
  showDataValues=TRUE,
  showTransition=FALSE,
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Stacked-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  coordinateLineColor=TRUE,
  graphOrientation="horizontal",
  graphType="StackedPercentLine",
  lineThickness=3,
  lineType="spline",
  smpTitle="Collection of Samples",
  smpTitleFontStyle="italic",
  subtitle="Random Data",
  title="Stacked-Line Graphs",
  xAxis=list("V1", "V2"),
  xAxis2=list("V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.75,
  scatterStreamExtraSpan=0.1,
  scatterStreamNumber=1000,
  scatterStreamTrueRange="both",
  scatterStreamType="mirror",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.75,
  scatterStreamExtraSpan=0.2,
  scatterStreamNumber=1000,
  scatterStreamTrueRange="none",
  scatterStreamType="mirror",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=1,
  scatterStreamExtraSpan=0.2,
  scatterStreamNumber=1000,
  scatterStreamTrueRange="none",
  scatterStreamType="mirror",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.75,
  scatterStreamExtraSpan=0.1,
  scatterStreamNumber=15,
  scatterStreamTrueRange="both",
  scatterStreamType="mirror",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.75,
  scatterStreamExtraSpan=0.1,
  scatterStreamNumber=1000,
  scatterStreamType="ridge",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-blockbusters-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/r/cX-blockbusters-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="panel",
  colorBy="genre",
  colors=list("rgb(255,180,0)", "rgb(255,199,64)", "rgb(194,0,8)", "rgb(255,2,13)", "rgb(19,175,239)"),
  dataPointSizeScaleFactor=0,
  graphType="Scatter2D",
  panelBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.75,
  scatterStreamExtraSpan=0.1,
  scatterStreamNumber=1000,
  scatterStreamType="proportional",
  scatterType="stream",
  showConfidenceIntervals=FALSE,
  showLoessFit="genre",
  xAxis=list("year"),
  xAxisGridMinorShow=FALSE,
  yAxis=list("box_office"),
  yAxisGridMinorShow=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-comics-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/r/cX-comics-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  backgroundType="solid",
  citation="Visualization inspired by Cédric Scherer's • Data by Claremont Run Project via Malcom Barret • Popularity Scores by ranker.com",
  citationFontStyle="italic",
  citationScaleFontFactor=0.7,
  colorBy="char_costume",
  colorKey=list(char_costume=list("Gambit (casual)   "="rgb(142,3,142)", "Gambit (costumed)   "="rgb(213,5,213)", "Magneto (casual)   "="rgb(194,0,8)", "Magneto (costumed)   "="rgb(255,2,13)", "Nightcrawler (casual)   "="rgb(19,175,239)", "Nightcrawler (costumed)   "="rgb(78,195,243)", "Storm (casual)"="rgb(89,90,82)", "Storm (costumed)"="rgb(115,117,106)", "Wolverine (casual)   "="rgb(255,180,0)", "Wolverine (costumed)   "="rgb(255,199,64)")),
  dataPointSizeScaleFactor=0,
  decorations=list(image=list(list(height=64, scope="depicted", src="https://www.canvasxpress.org/assets/images/uncannyxmen.png", width=100, x=305, y=-500)), label=list(list(align="left", background="rgb(255,255,255)", color="rgb(142,3,142)", justify=50, label="**Gambit** was introduced for the first time inissue #266 called Gambit => Out of the Frying Pan nevertheless, he is the **4 most popular X-Men character**!", scope="depicted", x=250, y=-90), list(align="left", background="rgb(255,255,255)", color="rgb(255,180,0)", justify=50, label="**Wolverine is the most popular X-Men** and has a regular presence in the X-Men comics between 1975 and 1991.", scope="depicted", x=65, y=70), list(align="left", background="rgb(255,255,255)", color="rgb(194,0,8)", justify=50, label="**Magneto** was ranked by IGN as the *Greatest Comic Book Villain of All Time*. And even though he only appears from time to time he **ranks 2nd **—4 ranks higher than his friend and opponent Professor X!", scope="narrative", x=215, y=-90), list(align="left", background="rgb(255,255,255)", color="rgb(19,175,239)", justify=50, label="The **3rd most popular X-men character Nightcrawler** gets injured during the 'Mutant Massacre' and fell into a coma after an attack from Riptide in issue #211", scope="speech", x=211, y=-110), list(align="left", background="rgb(255,255,255)", color="rgb(89,90,82)", justify=50, label="**Storm** is by far the most thoughtful of the five most popular X-Men characters, especially in issues #220, #223 and #265. Storm **ranks 5th**", scope="thought", x=220, y=-73)), text=list(list(align="left", color="rgb(0,0,0)", label="Depicted", scope="depicted", x=85, y=-50), list(align="left", color="rgb(0,0,0)", label="Narrative\nStatements", scope="narrative", x=85, y=-50), list(align="left", color="rgb(0,0,0)", label="Speech\nBubbles", scope="speech", x=85, y=-50), list(align="left", color="rgb(0,0,0)", label="Thought\nBubbles", scope="thought", x=85, y=-50))),
  decorationsClipped=FALSE,
  decorationsTextScaleFontFactor=0.45,
  fontName="Trebuchet MS",
  graphType="Scatter2D",
  layoutTopology="4X1",
  layoutType="rows",
  legendBackgroundBorderColor="rgb(0,0,0)",
  legendBackgroundColor="rgb(255,255,255)",
  legendColumns=5,
  legendOrder=list(char_costume=list("Wolverine (casual)   ", "Magneto (casual)   ", "Nightcrawler (casual)   ", "Gambit (casual)   ", "Storm (casual)", "Wolverine (costumed)   ", "Magneto (costumed)   ", "Nightcrawler (costumed)   ", "Gambit (costumed)   ", "Storm (costumed)")),
  legendPosition="bottom",
  legendTextScaleFontFactor=0.45,
  marginBottom=25,
  marginTop=25,
  panelBackgroundColor="rgb(222,222,222)",
  plotBackgroundColor="rgb(222,222,222)",
  scatterStreamBandwidth=0.55,
  scatterStreamExtraSpan=0.1,
  scatterStreamWiggles=list("Wolverine (casual)   ", "Wolverine (costumed)   ", "Magneto (casual)   ", "Magneto (costumed)   ", "Nightcrawler (casual)   ", "Nightcrawler (costumed)   ", "Gambit (casual)   ", "Gambit (costumed)   ", "Storm (casual)", "Storm (costumed)"),
  scatterType="stream",
  segregateVariablesBy=list("parameter"),
  setMaxX=325,
  setMinX=75,
  showLegendTitle=FALSE,
  showLoessFit="char_costume",
  stripShow=FALSE,
  title="Appearance of the Five Most Popular X-Men Characters in Chris Claremont's Comics",
  titleScaleFontFactor=0.6,
  xAxis=list("issue"),
  xAxisGridMajorLineType="dotted",
  xAxisGridMajorSize=2,
  xAxisGridMinorShow=FALSE,
  yAxis=list("value"),
  yAxisGridMajorShow=FALSE,
  yAxisGridMinorShow=FALSE,
  yAxisShow=FALSE,
  yAxisTickBottomShow=FALSE,
  yAxisTickTopShow=FALSE,
  yAxisTicks=0,
  yAxisTitle=FALSE
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=360,
  circularRotate=0,
  circularType="sunburst",
  colorBy="Quarter",
  colorScheme="Bootstrap",
  graphType="Circular",
  hierarchy=list("Quarter", "Month", "Week"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Simple Sunburst",
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=360,
  circularRotate=0,
  circularType="sunburst",
  colorBy="Month",
  colorScheme="RdYlBu",
  graphType="Circular",
  hierarchy=list("Quarter", "Month", "Week"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Simple Sunburst Colored by Category",
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=360,
  circularRotate=-90,
  circularType="sunburst",
  colorScheme="Bootstrap",
  graphType="Circular",
  hierarchy=list("Quarter", "Month", "Week"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Rotated Sunburst",
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-sunburst-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  circularArc=180,
  circularRotate=-90,
  circularType="sunburst",
  colorScheme="Bootstrap",
  graphType="Circular",
  hierarchy=list("Quarter", "Month", "Week"),
  objectBorderColor="rgb(0,0,0)",
  showTransition=FALSE,
  title="Rotated Half Sunburst",
  xAxis=list("Sales")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  binned=TRUE,
  boxplotWhiskersType="single",
  colorBy="dataset",
  colorScheme="JCO",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  plotStyle="open",
  segregateVariablesBy=list("variable"),
  showBoxplotOriginalData=TRUE,
  smpTextRotate=90,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  boxplotWhiskersType="single",
  colorBy="dataset",
  colorScheme="JCO",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  plotStyle="open",
  segregateVariablesBy=list("variable"),
  smpTextRotate=90,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  boxplotWhiskersType="single",
  colorBy="variable",
  colorScheme="JCO",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  plotStyle="open",
  smpTextRotate=90,
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  boxplotWhiskersType="single",
  colorBy="dataset",
  colorScheme="JCO",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  plotStyle="open",
  segregateVariablesBy=list("variable"),
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-exprtcga-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  boxplotWhiskersType="single",
  colorBy="dataset",
  colorScheme="JCO",
  graphOrientation="vertical",
  graphType="Dotplot",
  groupingFactors=list("dataset"),
  histogramBins=150,
  jitter=TRUE,
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  plotStyle="open",
  segregateVariablesBy=list("variable"),
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcgat-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/r/cX-exprtcgat-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorScheme="JCO",
  graphType="Scatter2D",
  hideHistogram=FALSE,
  histogramBins=15,
  histogramType="staggered",
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  showFilledHistogramDensity=TRUE,
  showHistogram=TRUE,
  showHistogramBars=TRUE,
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1"),
  xAxisRugShow=FALSE,
  xAxisTitle="Expression",
  yAxisTitle="Density"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcgat-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/r/cX-exprtcgat-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="dataset",
  colorScheme="JCO",
  graphType="Scatter2D",
  hideHistogram=FALSE,
  histogramBins=15,
  histogramType="staggered",
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  segregateVariablesBy=list("dataset"),
  showFilledHistogramDensity=TRUE,
  showHistogram="dataset",
  showHistogramBars=TRUE,
  showHistogramDensity=TRUE,
  showHistogramMedian=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1"),
  xAxisRugShow=FALSE,
  xAxisTitle="Expression",
  yAxisTitle="Density"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcgat-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/r/cX-exprtcgat-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="dataset",
  colorKey=list(dataset=list(BRCA="#0073c2", LUSC="#efc000", OV="#868686")),
  colorScheme="JCO",
  graphType="Scatter2D",
  hideHistogram=TRUE,
  histogramBins=15,
  histogramType="staggered",
  layoutTopology="1X3",
  legendColumns=3,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="top",
  legendTextScaleFontFactor=1.5,
  segregateSamplesBy=list("sample"),
  showFilledHistogramDensity=TRUE,
  showHistogram="dataset",
  showHistogramDensity=TRUE,
  showHistogramMedian=TRUE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripBackgroundColor="rgba(0,0,0,0)",
  stripTextColor="rgb(0,0,0)",
  toolbarType="over",
  xAxis=list("GATA3", "PTEN", "XBP1"),
  xAxisRugShow=TRUE,
  xAxisTitle="Expression",
  yAxisTitle="Density"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcgat-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/r/cX-exprtcgat-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="dataset",
  colorScheme="JCO",
  graphType="Scatter2D",
  layoutTopology="1X3",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  scatterType="qq",
  xAxis=list("GATA3", "PTEN", "XBP1"),
  xAxisTitle="",
  yAxisTitle=""
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-exprtcgat-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/r/cX-exprtcgat-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  colorBy="dataset",
  colorScheme="JCO",
  graphType="Scatter2D",
  layoutTopology="1X3",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  scatterType="cdf",
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  xAxis=list("GATA3", "PTEN", "XBP1"),
  xAxisTitle="Expression",
  yAxisTitle="F(Expression)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-cars-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-cars-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Country",
  graphType="TagCloud",
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  showTransition=FALSE,
  xAxis=list("MPG", "Weight", "Drive_Ratio", "Horsepower", "Displacement", "Cylinders")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-tree-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-tree-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Tree",
  hierarchy=list("Level1", "Level2", "Level3"),
  showTransition=TRUE,
  title="Collapsible Tree",
  treeLabelAlign="left",
  xAxis=list("Order")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-tree2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-tree2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Tree",
  hierarchy=list("Level1", "Level2"),
  showTransition=TRUE,
  title="Collapsible Tree",
  xAxis=list("Order")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-tree-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-tree-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Annot1",
  graphType="Tree",
  hierarchy=list("Level1", "Level2", "Level3"),
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  showTransition=TRUE,
  title="Collapsible Tree",
  treeLabelAlign="right",
  xAxis=list("Order")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-tree-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-tree-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Annot2",
  graphType="Tree",
  hierarchy=list("Level1", "Level2", "Level3"),
  showTransition=TRUE,
  title="Collapsible Tree",
  xAxis=list("Order")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-tree-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-tree-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Annot2",
  graphType="Tree",
  hierarchy=list("Level1", "Level2", "Level3"),
  showTransition=TRUE,
  title="Collapsible Tree",
  treeType="circular",
  xAxis=list("Order")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-bracket-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-bracket-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphType="Tree",
  hierarchy=list("Final", "Semifinal", "4th", "8th"),
  showTransition=FALSE,
  title="Bracket",
  treeBracketLabelAlign="left",
  treeClickDisable=TRUE,
  treeInverted=TRUE,
  treeNodeSizeScaleFactor=4,
  treeType="bracket",
  xAxis=list("Goals")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="GNI",
  decorations=list(marker=list(list(align="center", baseline="middle", color="red", sample="Norway", text="Norway is the country\nwith the largest GNI\naccording to 2014 census", variable="population", x=0.65, y=0.7), list(align="center", baseline="middle", color="red", sample="China", text="China is the country with\nthe largest population\naccording to 2014 census", variable="population", x=0.15, y=0.1))),
  graphType="Treemap",
  objectBorderColor="rgb(0,0,0)",
  showDecorations=FALSE,
  showTransition=FALSE,
  title="Population colored by Gross National Income 2014",
  xAxis=list("population"),
  afterRender=list(list("groupSamples", list("continent")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-generic-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-generic-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
z=read.table("https://www.canvasxpress.org/data/r/cX-generic-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  varAnnot=z,
  graphType="Treemap",
  xAxis=list("V1", "V2", "V3", "V4")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-stacked1-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  colorBy="GNI",
  decorations=list(marker=list(list(align="center", baseline="middle", color="red", sample="Norway", text="Norway is the country\nwith the largest GNI\naccording to 2014 census", variable="population", x=0.65, y=0.7), list(align="center", baseline="middle", color="red", sample="China", text="China is the country with\nthe largest population\naccording to 2014 census", variable="population", x=0.2, y=0.1))),
  graphOrientation="vertical",
  graphType="Stacked",
  legendInside=TRUE,
  legendPosition="right",
  objectBorderColor="rgb(0,0,0)",
  smpTextRotate=45,
  subtitle="2014 Census",
  title="Country Population colored by Gross National Income",
  treemapBy=list("ISO3"),
  widthFactor=4,
  xAxis=list("population"),
  xAxisGridMinorShow=FALSE,
  afterRender=list(list("groupSamples", list("continent")))
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-upsetMovies-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/r/cX-upsetMovies-var.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  varAnnot=z,
  graphType="Heatmap",
  heatmapType="upset",
  xAxis=list("Action", "Adventure", "Children", "Comedy", "Crime", "Documentary", "Drama", "Fantasy", "Noir", "Horror", "Musical", "Mystery", "Romance", "SciFi", "Thriller", "War", "Western")
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-upsetMutations-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphType="Heatmap",
  heatmapType="upset",
  xAxis=list("TTN", "PTEN", "TP53", "EGFR", "MUC16", "FLG", "RYR2", "PCLO", "PIK3R1", "PIK3CA", "NF1", "MUC17", "HMCN1", "SPTA1", "USH2A", "RB1", "PKHD1", "OBSCN", "AHNAK2", "RYR3", "RELN", "FRAS1", "GPR98", "DNAH5", "ATRX", "APOB", "TCHH", "SYNE1", "LRP2", "KEL", "HRNR", "DNAH3", "COL6A3", "MUC5B", "LAMA1", "DSP", "DNAH8", "CNTNAP2", "SDK1", "NBPF10", "DNAH2", "NLRP5", "MLL3", "IDH1", "HCN1", "FCGBP", "DOCK5", "RIMS2", "PCDHA1", "MXRA5", "HEATR7B2", "GRIN2A", "FGD5", "TMEM132D", "STAG2", "SEMA3C", "SCN9A", "PRDM9", "POM121L12", "PIK3CG", "PDGFRA", "GABRA6", "FLG2", "FBN3", "FBN2", "FAT2", "DNAH11", "DMD", "COL1A2", "ABCC9", "XIRP2", "TSHZ2", "TEX15", "SLIT3", "RBM47", "PIK3C2G", "PCDH11X", "MYH2", "MACF1", "KSR2", "DNAH9", "DCHS2", "CSMD3", "CDH18", "BCOR", "AHNAK", "ZAN", "TRRAP", "THSD7B", "TAF1L", "SPAG17", "SLCO5A1", "SCN10A", "RYR1", "RIMBP2", "PLEKHG4B", "PCDHB7", "NPTX2", "NOS1", "LZTR1")
)
library(canvasXpress)
canvasXpress(
  vennData=data.frame(A=340, AB=639, ABC=552, ABCD=148, ABD=578, AC=456, ACD=298, AD=257, B=562, BC=915, BCD=613, BD=354, C=620, CD=143, D=592),
  vennLegend=list(A="List 1", B="List 2", C="List 3", D="List 4"),
  graphType="Venn",
  showTransition=FALSE,
  vennGroups=4
)
library(canvasXpress)
canvasXpress(
  vennData=data.frame(A=340, AB=639, ABC=552, ABCD=148, ABD=578, AC=456, ACD=298, AD=257, B=562, BC=915, BCD=613, BD=354, C=620, CD=143, D=592),
  vennLegend=list(A="List 1", B="List 2", C="List 3", D="List 4"),
  graphType="Venn",
  showTransition=FALSE,
  vennGroups=3
)
library(canvasXpress)
canvasXpress(
  vennData=data.frame(A=340, AB=639, ABC=552, ABCD=148, ABD=578, AC=456, ACD=298, AD=257, B=562, BC=915, BCD=613, BD=354, C=620, CD=143, D=592),
  vennLegend=list(A="List 1", B="List 2", C="List 3", D="List 4"),
  graphType="Venn",
  vennGroups=2
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=FALSE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  violinScale="area",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  graphOrientation="horizontal",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=FALSE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=FALSE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  violinScale="count",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=FALSE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  violinScale="width",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotNotched=TRUE,
  boxplotWishkersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=FALSE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  violinTrim=FALSE,
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotNotched=TRUE,
  boxplotWishkersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotMean=TRUE,
  boxplotMeanColor="rgb(255,215,0)",
  boxplotMeanColorBorder="red",
  boxplotNotched=TRUE,
  boxplotWishkersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotMedianColor="red",
  boxplotMedianWidth=5,
  boxplotNotched=TRUE,
  boxplotWishkersType="single",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  binAlignment="center",
  binned=TRUE,
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=FALSE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotColor="gold",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=TRUE,
  panelBackgroundColor="#E5E5E5",
  shapeBy="supp",
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="dose",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotConnect=TRUE,
  colorBy="supp",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  violinColor="gold",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  boxplotConnect=TRUE,
  colorBy="supp",
  colorScheme="GGPlot",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  panelBackgroundColor="#E5E5E5",
  segregateSamplesBy=list("supp"),
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose"),
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  axisAlgorithm="rPretty",
  axisTitleFontStyle="bold",
  background="white",
  backgroundType="panel",
  colorBy="supp",
  colorScheme="GGPlot",
  connectBy="order",
  graphOrientation="vertical",
  graphType="Boxplot",
  groupingFactors=list("dose", "supp"),
  guidesColor="white",
  guidesLineType="solid",
  guidesShow=TRUE,
  jitter=FALSE,
  panelBackgroundColor="#E5E5E5",
  segregateSamplesBy=list("supp"),
  showBoxplotIfViolin=TRUE,
  showBoxplotOriginalData=TRUE,
  showLegend=TRUE,
  showViolinBoxplot=TRUE,
  smpTextRotate=90,
  smpTitle="dose",
  smpTitleFontStyle="bold",
  stringSampleFactors=list("dose", "order"),
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
  xAxis=list("len"),
  xAxis2Show=FALSE,
  xAxisGridMajorColor="white",
  xAxisGridMinorShow=FALSE,
  xAxisTitle="len"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-waterfall-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-waterfall-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Bar",
  showLegend=FALSE,
  showSampleNames=FALSE,
  title="Waterfall plot changes in QoL scores",
  xAxis=list("QoL-Score"),
  xAxisTitle="Change from baseline (%) in QoL score"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-waterfall-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-waterfall-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  graphOrientation="vertical",
  graphType="Bar",
  segregateSamplesBy=list("Treatment"),
  showLegend=FALSE,
  showSampleNames=FALSE,
  stripBackgroundBorderColor="rgb(0,0,0)",
  stripTextColor="rgb(0,0,0)",
  title="Waterfall plot changes in QoL scores",
  xAxis=list("QoL-Score"),
  xAxisTitle="Change from baseline (%) in QoL score"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-waterfall2-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
x=read.table("https://www.canvasxpress.org/data/r/cX-waterfall2-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  smpAnnot=x,
  colorBy="Tissue",
  colorScheme="NEJM",
  graphOrientation="vertical",
  graphType="Bar",
  legendInside=TRUE,
  legendKeyBackgroundBorderColor="rgba(255,255,255,0)",
  legendKeyBackgroundColor="rgba(255,255,255,0)",
  legendPosition="topRight",
  showSampleNames=FALSE,
  smpOverlayProperties=list(Status=list(position="bottom", scheme="White")),
  smpOverlays=list("Status"),
  title="Clinical Trial",
  xAxis=list("Shrinkage"),
  xAxis2Show=FALSE,
  xAxisTitle="Best tumor shrinkage (%)"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-waterfall3-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="Waterfall",
  showLegend=FALSE,
  smpTextRotate=90,
  smpTitle="Samples",
  title="Traditional Waterfall",
  xAxis=list("V1"),
  xAxisTitle="Value"
)
library(canvasXpress)
y=read.table("https://www.canvasxpress.org/data/r/cX-waterfall4-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(
  data=y,
  graphOrientation="vertical",
  graphType="Waterfall",
  smpTextRotate=90,
  smpTitle="Samples",
  title="Traditional Waterfall",
  xAxis=list("V1", "V2"),
  xAxisTitle="Value"
)