Skip to content

Commit

Permalink
fixing the transcript in set problem by added Transcript Length (#AA)…
Browse files Browse the repository at this point in the history
…= character() to the vector
  • Loading branch information
Evelyn Schmidt committed Nov 10, 2023
1 parent 9d74f05 commit b61e6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvactools/tools/pvacview/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ server <- shinyServer(function(input, output, session) {
datatable(GB_transcripts, options = list(columnDefs = list(list(defaultContent = "N/A", targets = c(3)), list(visible = FALSE, targets = c(-1))))) %>%
formatStyle(c("Transcripts in Selected Set"), "Best Transcript", backgroundColor = styleEqual(c(TRUE), c("#98FF98")))
}else {
GB_transcripts <- data.frame("Transcript" = character(), "Expression" = character(), "TSL" = character(), "Biotype" = character(), "Length" = character())
GB_transcripts <- data.frame("Transcript" = character(), "Expression" = character(), "TSL" = character(), "Biotype" = character(), "Transcript Length (#AA)"= character(), "Length" = character())
incProgress(0.5)
names(GB_transcripts) <- c("Transcripts in Selected Set", "Expression", "Transcript Support Level", "Biotype", "Transcript Length (#AA)", "Best Transcript")
incProgress(0.5)
Expand Down

0 comments on commit b61e6f5

Please sign in to comment.