-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.R
34 lines (24 loc) · 834 Bytes
/
example.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
#-----------------------update package----------------------
library(devtools)
setwd("/Users/hazelma/Documents/GitHub")
document("MolPad") #important: generate man
install("MolPad")
library("MolPad")
#-----------------------run example----------------------
data("test_data")
gDashboard(test_data_processed,test_cluster,test_annotations_processed,test_network,
dashboardtitle = "Test",
id_colname = c("GO_ID","KEGG_ID"),id_type = c("GO","KEGG"))
setwd("/Users/hazelma/Documents/GitHub/MolPad")
devtools::test()
devtools::check()
#-----------------------run example----------------------
data("cheese")
#-----------------------generate web----------------------
library(pkgdown)
#----
setwd("/Users/hazelma/Documents/GitHub/MolPad")
pkgdown::clean_site()
pkgdown::build_site()
#----
convert_range(5:10)