canvasXpress
CanvasXpress: A JavaScript Library for Data Analytics with Full Audit Trail Capabilities.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (17.8%) to scientific vocabulary
Keywords
Repository
CanvasXpress: A JavaScript Library for Data Analytics with Full Audit Trail Capabilities.
Basic Info
- Host: GitHub
- Owner: neuhausi
- Language: R
- Default Branch: master
- Homepage: http://www.canvasXpress.org
- Size: 124 MB
Statistics
- Stars: 303
- Watchers: 24
- Forks: 45
- Open Issues: 19
- Releases: 0
Topics
Metadata Files
README.md
title: "CanvasXpress R Library" output: html_document:
self_contained: no
canvasXpress was developed as the core visualization component for bioinformatics and systems biology analysis. It supports a large number of visualizations to display scientific and non-scientific data. canvasXpress also includes a simple and unobtrusive user interface to explore complex data sets, a sophisticated and unique mechanism to keep track of all user customization for Reproducible Research purposes, as well as an 'out of the box' broadcasting capability to synchronize selected data points in all canvasXpress plots in a page. Data can be easily sorted, grouped, transposed, transformed or clustered dynamically. The fully customizable mouse events as well as the zooming, panning and drag-and-drop capabilities are features that make this library unique in its class.
canvasXpress can be now simply used within R at the console to generate conventional plots, in R-Studio or seamlessly embedded in Shiny web applications. Full-fledged examples of the canvasXpress library including the mouse events, zooming, and broadcasting capabilities are included in this package in several examples that can be accessed using the cxShinyExample function. This canvasXpress R library was created with the htmlwidgets package.
Installation
canvasXpress is available for installation from CRAN or you can install the latest version of canvasXpress from GitHub as follows:
r
devtools::install_github('neuhausi/canvasXpress')
Examples
These are included to get you started on basic charting - there are many more examples (including complex and compound visualizations) with R code available in the Examples section of the main website at https://www.canvasxpress.org
Scatter 3D Plot
```r y <- read.table("https://www.canvasxpress.org/data/cX-irist-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE) z <- read.table("https://www.canvasxpress.org/data/cX-irist-var.txt", header=TRUE, sep= "\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(data = y,
varAnnot = z,
graphType ="Scatter3D",
colorBy = "Species",
ellipseBy = "Species",
xAxis = list("Sepal.Length"),
yAxis = list("Petal.Width"),
zAxis = list("Petal.Length"),
theme = "CanvasXpress",
title = "Iris Data Set",
axisTickScaleFontFactor = 0.5,
axisTitleScaleFontFactor = 0.5)
```

Scatter 2D Matrix Plot
```r y <- read.table("https://www.canvasxpress.org/data/cX-irist-dat.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE) z <- read.table("https://www.canvasxpress.org/data/cX-irist-var.txt", header=TRUE, sep= "\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(data = y,
varAnnot = z,
graphType = "Scatter2D",
colorBy = "Species",
layoutAdjust = TRUE,
scatterPlotMatrix = TRUE,
theme = "CanvasXpress")
```

Boxplot
```r y <- read.table("https://www.canvasxpress.org/data/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/cX-toothgrowth-smp.txt", header=TRUE, sep="\t", quote="", row.names=1, fill=TRUE, check.names=FALSE, stringsAsFactors=FALSE)
canvasXpress(data = y,
smpAnnot = x,
graphType = "Boxplot",
groupingFactors = list("dose", "supp"),
stringSampleFactors = list("dose"),
graphOrientation = "vertical",
colorBy = "dose",
title = "The Effect of Vitamin C on Tooth Growth in Guinea Pigs",
smpTitle = "dose",
xAxisTitle = "len",
smpLabelRotate = 90,
xAxisMinorTicks = FALSE,
xAxis2Show = FALSE,
legendScaleFontFactor = 1.8)
```

Heatmap (Multi-dimensional)
```r y <- read.table("https://www.canvasxpress.org/data/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/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/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/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/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/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",
guides = TRUE,
outlineBy = "Outline",
outlineByData = "data2",
shapeBy = "Shape",
shapeByData = "data3",
sizeBy = "Size",
sizeByData = "data4",
showHeatmapIndicator = FALSE,
afterRender = list(list("clusterSamples")))
```

Four way Venn Diagram
r
canvasXpress(vennData = data.frame(AC=456, A=340, ABC=552, ABCD=148, BC=915, ACD=298, BCD=613,
B=562, CD=143, ABD=578, C=620, D=592, AB=639, BD=354, AD=257),
graphType = "Venn",
vennLegend = list(A="List 1", D="List 4", C="List 3", B="List 2"),
vennGroups = 4)

More Examples and Resources
In addition to the built-in package documentation there are vignettes with more information on getting started and additional examples:
```r
List all package vignettes
vignette(package = "canvasXpress")
View a specific vignette
vignette("gettingstarted", package = "canvasXpress") vignette("additionalexamples", package = "canvasXpress") ```
For the use of canvasXpress plots in shiny there are interactive examples available through the package function cxShinyExample
```r
List example names
cxShinyExample()
Run an interactive shiny example
cxShinyExample(example = "example1") ```
There is also a wealth of additional information including full API documentation and extensive R and JavaScript examples at https://www.canvasxpress.org.
Owner
- Login: neuhausi
- Kind: user
- Website: https://www.canvasxpress.org
- Repositories: 13
- Profile: https://github.com/neuhausi
GitHub Events
Total
- Create event: 48
- Issues event: 70
- Release event: 47
- Watch event: 11
- Issue comment event: 254
- Push event: 71
- Fork event: 3
Last Year
- Create event: 48
- Issues event: 70
- Release event: 47
- Watch event: 11
- Issue comment event: 254
- Push event: 71
- Fork event: 3
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| neuhausi | i****d@g****m | 865 |
| cb4ds | c****e@a****m | 680 |
| ginberg | g****g@g****m | 37 |
| isaac | i****c@i****e | 26 |
| Mohammed Ali | m****d@a****m | 26 |
| kartikeya kirar | 4****n | 22 |
| Isaac | i****c@I****e | 12 |
| Jennifer Walker | 9****r | 11 |
| saranya-ag | 5****g | 9 |
| angeline-pro | 4****o | 6 |
| Jasmine Lai | 9****e | 4 |
| dheerajagr7 | 6****7 | 2 |
| agenius-lisa | 9****a | 2 |
| Carson Sievert | c****1@g****m | 2 |
| Isaac Neuhaus | i****c@M****e | 2 |
| Navyasri Thirumala | 8****i | 1 |
| agenius-menna | 1****a | 1 |
| klmedeiros-ag | 6****g | 1 |
| neuhausi | i****d@g****m | 1 |
| Isaac Neuhaus | i****c@I****e | 1 |
| Isaac Neuhaus | i****c@I****e | 1 |
| Dr. Todd C. Brett | t****d@a****m | 1 |
| Jimmy Fulp | W****p@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 136
- Total pull requests: 46
- Average time to close issues: 2 months
- Average time to close pull requests: about 2 hours
- Total issue authors: 38
- Total pull request authors: 3
- Average comments per issue: 4.98
- Average comments per pull request: 0.09
- Merged pull requests: 37
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 46
- Pull requests: 0
- Average time to close issues: 10 days
- Average time to close pull requests: N/A
- Issue authors: 10
- Pull request authors: 0
- Average comments per issue: 4.22
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- cwolcott (27)
- TheWildParamecium (14)
- sammyjava (13)
- baohongz (10)
- davidhodge931 (10)
- leiyan (8)
- seoanezonjic (6)
- sarah-binf (6)
- watsondh7 (5)
- JulianDekker (3)
- alin-png (3)
- lh12565 (2)
- bitcometz (2)
- mmuejde (2)
- federedef (2)
Pull Request Authors
- cb4ds (43)
- cpsievert (2)
- wfulp (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- cran 972 last-month
- Total docker downloads: 76
-
Total dependent packages: 5
(may contain duplicates) -
Total dependent repositories: 6
(may contain duplicates) - Total versions: 417
- Total maintainers: 1
cran.r-project.org: canvasXpress
Visualization Package for CanvasXpress in R
- Homepage: https://github.com/neuhausi/canvasXpress
- Documentation: http://cran.r-project.org/web/packages/canvasXpress/canvasXpress.pdf
- License: GPL-3
-
Latest release: 1.57.4
published 7 months ago
Rankings
Maintainers (1)
bower.io: canvasxpress
-
Latest release: 57.6
published 7 months ago
Rankings
Dependencies
- R >= 3.5 depends
- htmltools * imports
- htmlwidgets >= 1.0 imports
- httr * imports
- jsonlite * imports
- stats * imports
- canvasXpress.data * suggests
- dplyr * suggests
- ggplot2 * suggests
- glue * suggests
- grid * suggests
- knitr * suggests
- limma * suggests
- png * suggests
- readr * suggests
- rlang * suggests
- rmarkdown * suggests
- shiny >= 1.1.0 suggests
- stringr * suggests
- testthat * suggests
- tibble * suggests
- tidyr * suggests
