mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 11:17:24 +01:00
Show distances in results and add filtering
This commit is contained in:
parent
507f90e084
commit
17b738378a
3 changed files with 33 additions and 3 deletions
|
|
@ -45,11 +45,18 @@ server <- function(options) {
|
|||
# Rank the results.
|
||||
ranking <- methods_server("methods", analysis, comparison_gene_ids)
|
||||
|
||||
genes_with_distances <- merge(
|
||||
geposan::genes,
|
||||
geposan::distances[species == "hsapiens"],
|
||||
by.x = "id",
|
||||
by.y = "gene"
|
||||
)
|
||||
|
||||
# Add gene information to the results.
|
||||
results <- reactive({
|
||||
merge(
|
||||
ranking(),
|
||||
geposan::genes,
|
||||
genes_with_distances,
|
||||
by.x = "gene",
|
||||
by.y = "id",
|
||||
sort = FALSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue