deploid-dev / deploid-shinyapp Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Use four tabs at the top
Change the following:
use the following command
citation(package="DEploid")
Similar to deploid
update readme
africa1
https://ndownloader.figshare.com/files/8916217?private_link=f09830a270360a4fe4a5
africa2
https://ndownloader.figshare.com/files/8916220?private_link=f09830a270360a4fe4a5
africa3
https://ndownloader.figshare.com/files/8916223?private_link=f09830a270360a4fe4a5
africa4
https://ndownloader.figshare.com/files/8916226?private_link=f09830a270360a4fe4a5
asia1
https://ndownloader.figshare.com/files/8916229?private_link=f09830a270360a4fe4a5
asia2
https://ndownloader.figshare.com/files/8916232?private_link=f09830a270360a4fe4a5
asia3
https://ndownloader.figshare.com/files/8916235?private_link=f09830a270360a4fe4a5
url_content = "https://ndownloader.figshare.com/files/8916217?private_link=f09830a270360a4fe4a5"
library(RCurl)
myfile <- getURL(url_content)
plaf <- read.table(textConnection(myfile), header=T)
head(plaf)
dygraph
function (data, main = NULL, xlab = NULL, ylab = NULL, periodicity = NULL,
group = NULL, elementId = NULL, width = NULL, height = NULL)
{
if (xts::xtsible(data)) {
if (!xts::is.xts(data))
data <- xts::as.xts(data)
format <- "date"
}
else if (is.list(data) && is.numeric(data[[1]])) {
if (is.null(names(data)))
stop("For numeric values, 'data' must be a named list or data frame")
format <- "numeric"
}
else {
stop("Unsupported type passed to argument 'data'.")
}
if (format == "date") {
if (is.null(periodicity)) {
if (nrow(data) < 2) {
periodicity <- defaultPeriodicity(data)
}
else {
periodicity <- xts::periodicity(data)
}
}
time <- time(data)
data <- zoo::coredata(data)
data <- unclass(as.data.frame(data))
timeColumn <- list()
timeColumn[[periodicity$label]] <- asISO8601Time(time)
data <- append(timeColumn, data)
}
else {
data <- as.list(data)
}
attrs <- list()
attrs$title <- main
attrs$xlabel <- xlab
attrs$ylabel <- ylab
attrs$labels <- names(data)
attrs$legend <- "auto"
attrs$retainDateWindow <- FALSE
attrs$axes$x <- list()
attrs$axes$x$pixelsPerLabel <- 60
x <- list()
x$attrs <- attrs
x$scale <- if (format == "date")
periodicity$scale
else NULL
x$group <- group
x$annotations <- list()
x$shadings <- list()
x$events <- list()
x$format <- format
attr(x, "time") <- if (format == "date")
time
else NULL
attr(x, "data") <- data
attr(x, "autoSeries") <- 2
names(data) <- NULL
x$data <- data
htmlwidgets::createWidget(name = "dygraphs", x = x, width = width,
height = height, htmlwidgets::sizingPolicy(viewer.padding = 10,
browser.fill = TRUE), elementId = elementId)
}
plot gene annotations on the WSAF vs POS plot
Africa
Asia
shiny
plotly
dygraphs
leaflet
shinythemes
quantmod
RCurl
Similar to deploid stuff, four figures. With some explanation
create a remove dir, move DEploid existing functions to the dir
The selectInput "Where is it coming from" disappears when the WSAF vs POS plot (the one using dygraph) is added
A ring figure on top.
Wsaf figure below
country, lats, longs
clusterNames.1 = c("Thailand")
clusterNames.2 = c("Indonesia", "Malaysia", "Papua New Guinea")
clusterNames.3 = c("Cambodia", "Vietnam", "Laos")
clusterNames.4 = c("Myanmar (Burma)", "China", "Madagascar", "Sri Lanka", "Brazil", "India")
CHROM CHROMSIZE
Pf3D7_01_v3 643292
Pf3D7_02_v3 947102
Pf3D7_03_v3 1060087
Pf3D7_04_v3 1204112
Pf3D7_05_v3 1343552
Pf3D7_06_v3 1418244
Pf3D7_07_v3 1501717
Pf3D7_08_v3 1419563
Pf3D7_09_v3 1541723
Pf3D7_10_v3 1687655
Pf3D7_11_v3 2038337
Pf3D7_12_v3 2271478
Pf3D7_13_v3 2895605
Pf3D7_14_v3 3291871
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.