IRscope代码中ui相关的代码是这样的
发表于:2026-10-31 作者:千家信息网编辑
千家信息网最后更新 2026年10月31日,这期内容当中小编将会给大家带来有关IRscope代码中ui相关的代码是这样的,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。IRscope是用来可视化叶绿体基因组边界
千家信息网最后更新 2026年10月31日IRscope代码中ui相关的代码是这样的
这期内容当中小编将会给大家带来有关IRscope代码中ui相关的代码是这样的,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。
IRscope是用来可视化叶绿体基因组边界收缩扩张的一个shiny应用。最想学习的是其中鉴定反向重复区的代码和画图用到的代码。
但是这两个函数实在是太长了,看起来还有些吃力。
今天记录一下ui相关的代码
他的ui代码主要用到的就是tabPanel,里面没有太复杂的知识点。
以下是自己手动敲的代码
library(shiny)
ui <- fluidPage(
tags$br(),
HTML('
IRScope
'),
tags$br(),
fluidRow(column(width = 1,""),
column(width=11,offset = 1,tabsetPanel(
tabPanel(strong("Home"),br(),
column(width = 6,h5(tags$em("Welcome to IRscope...")),
br(),p(tags$strong("IRscope"),"is a tool for "))),
tabPanel("Files upload",br(),
fluidRow(column(width=11,br(),p("You need .."))),
br(),br(),br(),
tabsetPanel(tabPanel("GB file",br(),br(),p("In this section you can")),
fluidRow(column(width=2,textInput(inputId = "acc1",label = "Accession No.",placeholder = "1st Accession..")),
column(width = 3,fileInput(inputId = "data1",label="GenBank File",placeholder = "Or GB file")),
column(width = 5,br(),verbatimTextOutput("sp1",placeholder = TRUE)),
column(width = 1,strong("SSC"),br(),checkboxInput("S1",label=icon("transfer",lib="glyphicon"),value=FALSE)),
column(width=1,br())),
fluidRow(column(width=2,textInput(inputId = "acc1",label = "Accession No.",placeholder = "1st Accession..")),
column(width = 3,fileInput(inputId = "data1",label="GenBank File",placeholder = "Or GB file")),
column(width = 5,br(),verbatimTextOutput("sp1",placeholder = TRUE)),
column(width = 1,strong("SSC"),br(),checkboxInput("S1",label=icon("transfer",lib="glyphicon"),value=FALSE)),
column(width=1,br())),
fluidRow(column(width=2,textInput(inputId = "acc1",label = "Accession No.",placeholder = "1st Accession..")),
column(width = 3,fileInput(inputId = "data1",label="GenBank File",placeholder = "Or GB file")),
column(width = 5,br(),verbatimTextOutput("sp1",placeholder = TRUE)),
column(width = 1,strong("SSC"),br(),checkboxInput("S1",label=icon("transfer",lib="glyphicon"),value=FALSE)),
column(width=1,br())),
fluidRow(column(width=2,textInput(inputId = "acc1",label = "Accession No.",placeholder = "1st Accession..")),
column(width = 3,fileInput(inputId = "data1",label="GenBank File",placeholder = "Or GB file")),
column(width = 5,br(),verbatimTextOutput("sp1",placeholder = TRUE)),
column(width = 1,strong("SSC"),br(),checkboxInput("S1",label=icon("transfer",lib="glyphicon"),value=FALSE)),
column(width=1,br())),
column(width=10,verbatimTextOutput("stat"),actionButton("Gbsub",label = "Submit"),
br(),br(),p("After submission the section below will turn innactive")),
downloadButton("downloadData",label="Download"))),
tabPanel("Manual Files",br(),p("In case your GB files are of low quality or otherwise"),
fluidRow(br(),
column(width=3,fileInput(inputId="dogma1",label = "Annotations",placeholder = "And Fasta file")),
column(width = 6,textInput(inputId = "IR1",label = "IR info (optional)",placeholder = "IR end, IRb start, IRa end")),
column(width = 2,br())),
fluidRow(column(width=3,fileInput(inputId = "fas1",label = "Genome Fasta",placeholder = "And Fasta file"))),
column(width = 10,actionButton("Go","Submit"),br(),br(),p("After submission"))),
tabPanel("FAQ",br(),column(width=1,""),br(),
column(width = 6,h5(strong("Q:"),tags$em(strong("Why the gene names are not displayed properly?"))),
p(strong("A:"),"Check your input file(s)"),br(),
h5(strong("Q:")))),
tabPanel("About",br(),column(width=6,p("IRscope and its all dependencies"))),
tabPanel("Contact",br(),column(width = 6,p("The paper describing this")))
)))
)
server <- function(input,output){
}
shinyApp(ui,server)
最终的效果就是这个样子

上述就是小编为大家分享的IRscope代码中ui相关的代码是这样的了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注行业资讯频道。
代码
就是
内容
知识
分析
吃力
复杂
专业
两个
中小
内容丰富
函数
叶绿体
基因
基因组
手动
效果
文章
更多
样子
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
南京欣网互联网络科技有限公司
高科技互联网
重生之互联网科技帝国
互联网和科技技术
科技创新与互联网经济
互联网与新科技
九亚互联网科技
善班互联网科技有限公司
互联网 科技馆
常德市电业局互联网科技部
互联网企业和科技型企业
互联网与医疗科技
杭州壁岐互联网科技有限公司
广州新华互联网科技学校电竞方面
科技大学互联网
科技互联网的核心竞争力
上海京穆互联网科技有限公司
广州互联网高科技取餐柜
普陀区互联网教育科技管理办法
互联网的科技体现在哪里
什么是科技互联网
华服互联网科技靠谱吗
互联网通讯科技
互联网品科技
互联网 卓越科技
南京欣网互联网科技
互联网 视角下的科技创新
浙南科技城互联网大厦招聘
珠海东科互联网科技有限公司
绵阳真晨互联网科技有限公司