Mutates filtered interaction data for a single selected protein to contain DOI links and clickable AGIDs; then selects only columns that are displayed in the interactors or interactees table.

reactive_subtable_data(edges, ns, input, target_id, target_variable)

Arguments

edges

[reactivevalues()]
AmyloGraph data with "table" element.

ns

[codefunction(1)]
Namespace function to use for AGID buttons.

input

[reactivevalues()]
An input object of the app or a module that contains the protein selector.

target_id

[character(1)]
ID column name to use.

target_variable

[character(1)]
Protein name column to use.

Value

A reactive object with a tibble containing filtered interaction data for a single protein, either with interactors or interactees (depends on selected target ID).