-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
26 lines (21 loc) · 876 Bytes
/
ui.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
library(shiny)
library(Biostrings)
source('./scoreG4hunt.R')
ui =fluidPage(
headerPanel("G4HunterTable"),
p('by L. Lacroix, laurent.lacroix@inserm.fr'),
p(tagList('published in',a("Bioinformatics 2018", href="https://doi.org/10.1093/bioinformatics/bty951",target="_blank"))),
helpText(a("Click Here to open the README",href="README.html",target="_blank")),
wellPanel(style="background-color:pink;",
fluidRow(
column(4,fileInput('file1', 'Choose a TEXT or a FASTA File',
accept='text')),
column(6,radioButtons('type', 'File Type',
c(text='txt',
fasta='fasta'),inline=T)),
column(6,checkboxInput('header', 'Remove the header (text file only)', F))
)),
wellPanel(style="background-color:lightblue;",
downloadButton('downloadData', 'Download the result in a text file '),
tableOutput('result'))
)