-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGlobal.R
63 lines (54 loc) · 1.51 KB
/
Global.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
options(warn=-1)
# library(IRanges)
# library(plotly)
# library(LDheatmap)
# library(chopsticks)
# library(foreach)
# library(ape)
# library(pegas)
# library(plyr)
library(dplyr)
# library(ggmap)
# library(tidyr)
# library(gridExtra)
# library(ggtree)
# library(grid)
library(snpStats)
# library(htmlwidgets)
# library(shinycssloaders)
# library(shinysky)
# library(shinyWidgets)
# library(shinythemes)
library(shinyBS)
source("fetchSnp.R")
source("ld.heatmap.R")
source("phylo.R")
source("hapNet.R")
source("hapConten.R")
source("nucDiv.R")
source("writeHap.R")
source("hapGeo.R")
source("GBrowser.R")
source("anaReg.R")
source("geneStru.R")
source("hapGeoStatic.R")
source("snpInfo.R")
source("validReg.R")
source("alleleFreq.R")
acc.info <- read.table("./data/all.acc.txt", head=T, as.is=T, sep="\t", quote="")
load("./data/gff.msu.v7.RData")
snp.lst <- read.table("./data/snp.RData.lst", head=T, as.is=T, sep="\t")
load("./data/gene.info.RData")
source("chooser.R")
#all.acc.cho <- acc.info$ID[!is.na(acc.info$Latitude)]
all.acc.cho <- paste(acc.info$ID, acc.info$Name, acc.info$Ecotype, sep=", ")
all.acc.cho <- c("Aus", "Indica", "IndicaI", "IndicaII", "Japonica", "TeJ",
"TrJ", "Or-I", "Or-II", "Or-III", all.acc.cho)
chrInfo <- read.table("./data/chrInfo.txt", head=T, as.is=T, sep="\t")
acc.tree <- read.table("./data/acc.tree.txt",
head=T, as.is=T, sep="\t", row.names = 1)
footerTagList <- list(
tags$footer(id = "myFooter",
shiny::includeHTML("www/footer.html")
)
)