-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dashBio to v0.4.5 and enable asynchronous component loading (#457
- Loading branch information
Showing
31 changed files
with
12,207 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
Package: dashBio | ||
Title: Dash components for bioinformatics | ||
Version: 0.1.2 | ||
Authors @R: as.person(c(The Plotly Team <[email protected]>)) | ||
Description: Dash components for bioinformatics | ||
Title: Open-source Bioinformatics Components for Dash | ||
Version: 0.4.5 | ||
Description: A suite of components that makes it simpler to analyze and visualize bioinformatics data and interact with them in a Dash application. | ||
Depends: R (>= 3.0.2), manhattanly | ||
Imports: dash | ||
Suggests: | ||
Imports: dash | ||
Suggests: | ||
License: MIT + file LICENSE | ||
URL: https://github.com/plotly/dash-bio | ||
BugReports: https://github.com/plotly/dash-bio/issues | ||
Encoding: UTF-8 | ||
LazyData: true | ||
KeepSource: true | ||
Author: The Plotly Team [aut] | ||
Maintainer: Ryan Patrick Kyle <[email protected]> | ||
RoxygenNote: 6.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# AUTO GENERATED FILE - DO NOT EDIT | ||
|
||
dashbioFornaContainer <- function(id=NULL, height=NULL, width=NULL, sequences=NULL, nodeFillColor=NULL, colorScheme=NULL, customColors=NULL, allowPanningAndZooming=NULL) { | ||
|
||
props <- list(id=id, height=height, width=width, sequences=sequences, nodeFillColor=nodeFillColor, colorScheme=colorScheme, customColors=customColors, allowPanningAndZooming=allowPanningAndZooming) | ||
if (length(props) > 0) { | ||
props <- props[!vapply(props, is.null, logical(1))] | ||
} | ||
component <- list( | ||
props = props, | ||
type = 'FornaContainer', | ||
namespace = 'dash_bio', | ||
propNames = c('id', 'height', 'width', 'sequences', 'nodeFillColor', 'colorScheme', 'customColors', 'allowPanningAndZooming'), | ||
package = 'dashBio' | ||
) | ||
|
||
structure(component, class = c('dash_component', 'list')) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,117 @@ | ||
.dashBio_js_metadata <- function() { | ||
deps_metadata <- list(`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.1.2", src = list(href = NULL, | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~alignment.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~circos.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~ideogram.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~moleculeviewer2.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~moleculeviewer3.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~needle.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~onco.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~sequence.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~speck.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, async = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~alignment.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~circos.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~ideogram.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~moleculeviewer2.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~moleculeviewer3.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~needle.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~onco.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~sequence.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'async~speck.js.map', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE, dynamic = TRUE), class = "html_dependency"), | ||
`dash_bio` = structure(list(name = "dash_bio", | ||
version = "0.4.5", src = list(href = NULL, | ||
file = "deps"), meta = NULL, | ||
script = 'bundle.js', | ||
stylesheet = NULL, head = NULL, attachment = NULL, package = "dashBio", | ||
all_files = FALSE), class = "html_dependency")) | ||
return(deps_metadata) | ||
} | ||
|
||
dash_assert_valid_wildcards <- function (attrib = list("data", "aria"), ...) | ||
{ | ||
args <- list(...) | ||
validation_results <- lapply(names(args), function(x) { | ||
grepl(paste0("^", attrib, "-[a-zA-Z0-9]{1,}$", collapse = "|"), | ||
x) | ||
}) | ||
if (FALSE %in% validation_results) { | ||
stop(sprintf("The following wildcards are not currently valid in Dash: '%s'", | ||
paste(names(args)[grepl(FALSE, unlist(validation_results))], | ||
collapse = ", ")), call. = FALSE) | ||
} | ||
else { | ||
return(args) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.