Documente Academic
Documente Profesional
Documente Cultură
Graphical User
Interfaces
SETIA PRAMANA
Outlines
2
R GUI
Motivations
R GUI
IsoGeneGUI
neaGUI
Summary
3
R GUI
4
R GUI
R: A Command line
interface (CLI)
5
R GUI
R: A Command line
interface (CLI)
6
R GUI
R GUI Projects
7
R GUI
R Studio
R GUI
Download from
Rstudio.com
Powerfull IDE
(Integrated
Development
Environment) for
R.
R GUI Projects
9
R GUI
R GUI Tcl/Tk
10
R GUI
11
R GUI
R GUI Tcl/Tk
12
R GUI
2012)
R GUI Tcl/Tk
13
R GUI
2012)
Independent
GUI
R GUI Tcl/Tk
14
R GUI
2011)
Embeded
GUI
neaGUI
15
R GUI
To help interpretation of
differentially expressed (DE)
genes in context of biological
processes, pathways and
networks.
Perform network enrichment
analysis.
Input: DE genes
Output: enriched pathways
statistics based on gene
interaction networks.
neaGUI Output
16
R GUI
neaGUI Output
17
R GUI
RGUI: RCommander
18
R GUI
Rcommander.com
Helpful for R
beginner
Install inside R
Still developing
R GUI
19
20
R GUI
21
R GUI
WebBUGS
Conducting
Bayesian Statistical
Analysis Online
Combines
OpenBUGS and R
www.webbugs.psychstat.org
R GUI
22
RGUI: Shiny
23
R GUI
Really Easy!
http://www.showmeshiny.com/
24
25
R GUI
Input
Options
Output
26
R GUI
tt <- tktoplevel()
tkwm.title(tt,"My New GUI")
tkadd(openMenu,"command",label="xls file",
command= getXls)
tkadd(openMenu,"command",label="text file)
27
R GUI
tt <- tktoplevel()
tkwm.title(tt,"My New GUI")
28
R GUI
tt <- tktoplevel()
tkwm.title(tt,"My New GUI")
topMenu <- tkmenu(tt)
tkconfigure (tt,menu=topMenu)
fileMenu <- tkmenu(topMenu,tearoff=FALSE)
openMenu <- tkmenu(topMenu,tearoff=FALSE)
tkadd(openMenu,"command",label="xls file",
command= getXls)
tkadd(openMenu,"command",label="text file")
tkadd(fileMenu,"cascade",label="Open data",
menu=openMenu)
tkadd(fileMenu,"cascade",label="Edit data")
tkadd(fileMenu,"command",label="Quit",command=function() tkdestroy(tt))
tkadd(topMenu,"cascade",label="File",menu=fileMenu)
tkadd(topMenu,"cascade",label="Help")
tkfocus(tt)
29
R GUI
require(tcltk)
tt<-tktoplevel()
tkwm.title(tt,"Input Window")
Edit Box
textvariable=Name)
tkgrid(tklabel(tt,text="Name:"), entry.Name)
30
R GUI
Radio button
value="Male")
tkconfigure(rb2,variable=rbValue,
value="Female")
tkgrid(tklabel(tt,text="Sex:"))
tkgrid(tklabel(tt,text="Male"),rb1)
tkgrid(tklabel(tt,text="Female"),rb2)
31
R GUI
tl<-tklistbox(tt,height=4,selectmode="single",
background="white")
"Stockholm")
for (i in (1:4)) tkinsert(tl,"end",city [i])
tkselection.set(tl,1)
tkgrid.configure(scr,rowspan=4,sticky="nsw")
32
R GUI
OK button
OK.but <-tkbutton(tt,text="
command=OnOK)
tkgrid(OK.but)
tkgrid.configure(OK.but)
tkfocus(tt)
OK
",
33
R GUI
34
R GUI
tkdestroy(tt)
msg <- paste("Good morning ",pref , NameVal , "from", cityChoice,
tkmessageBox(message=msg)
}
sep=" ")
Summary
35
R GUI
A GUI could help novice R users for utilizing all the power of R.
Summary
36
R GUI
A GUI could help novice R users for utilizing all the power of R.
Embedded/Independent.
Summary
37
R GUI