Reputation: 371
This is a similar question to what people asked before about Shiny package R but I could not find specific directions on adding hyperlinks on a table which I obtained from biomart(below). I am sorry I am not in liberty to disclose all of the code and data. There are two tables tab separated in the user interface. I want GeneX in 'TAB separated table 1' to be hyperlinked to GeneX in TAB separated table 2. Please let me know if anything is not clear. Thanks in advance
################# TAB separated table 1Species ESNTID ESNTID Gene
ENSxxxxxxxx ENSxxxxxxxx GeneX
################# TAB separated table 2Ensembl.Gene.ID ## Associated.Gene.Name ## GO.Term.Accession ## GO.Term.Definition ## GO.domain
ENSXXXXXXXX ## GeneX ## GO:xxx ## A membrane coat adaptor ... ## cellular_component
Upvotes: 1
Views: 333
Reputation: 398
If I understand correctly you are not talking about hyperlinks at all. You want to filter Table 1 based on row selections in Table 2.
I suggest using renderDataTable
in the DT
package to render your tables. You can then access the indices of your selected rows in Table 1 (e.g. input$table1_rows_selected
) and use these to filter or create Table 2.
Upvotes: 2