gravatar for 153348734

2 hours ago by

Dear everyone:
I have a question about the html in shiny, when the protein not found, the protein area is grey. How can I eliminate it that the boxes below can be arranged upwards. thanks!

      fluidRow(
        column(4, downloadButton("sequence.txt", "Download Sequence", style = "width:100%;", class = "buttDown")),
        column(4,downloadButton("genesequence.txt", "Download Gene Sequence", style = "width:100%;", class = "buttDown")),
        column(4,downloadButton("genesinfo.txt", "Download Gene Information", style = "width:100%;", class = "buttDown"))
      ),

      textOutput("seq_title"),
      verbatimTextOutput("seq"),
      tags$head(tags$style("#seq_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#seq{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      ),
      textOutput("cds_title"),
      verbatimTextOutput("cds"),
      tags$head(tags$style("#cds_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#cds{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      ),
      textOutput("pro_title"),
      verbatimTextOutput("pro"),
      tags$head(tags$style("#pro_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#pro{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                 height: 300px;
                 noshade:noshade;
      }")
      ),
      DT::dataTableOutput("geneinfo"),

      textOutput("genetitle"),
      verbatimTextOutput("searchgenesequence"),
      tags$head(tags$style("#genetitle{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#searchgenesequence{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      )



Source link