Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluating functions applied to table columns #66

Open
AlexanderPico opened this issue Apr 22, 2021 · 2 comments
Open

Evaluating functions applied to table columns #66

AlexanderPico opened this issue Apr 22, 2021 · 2 comments
Assignees
Labels
script app idea Cytoscape functionality that could be implemented as a script app

Comments

@AlexanderPico
Copy link
Member

AlexanderPico commented Apr 22, 2021

Original use case: cytoscape/cytoscape-tutorials#54

A script app solution could be generalized in a few different ways, starting from this original use case:

  1. Qiime2 label split: split the "Label" column on ; and create columns for taxonomic fields, i.e., anticipating standard Qiime2 output. Executed by app menu item, no options needed.
  2. split & pick: split string by user-selected character; then return a user-selected list member(s) to populate new column(s). Executed by right-click on column header and then specifying two values with defaults.
  3. lapply: provide an R function or even a code chunk to execute on each cell in a column; populate new column with output. Executed by right-click on column header and then specifying R function or code chunk.
  4. tidyr & dplyr: support separate, unite, filter, and mutate applied to one or more columns. Executed by right-clicking on output column (e.g., a newly created empty column) or input column (in the case of separate), then providing param values.

Maybe an app for each of the above?

@AlexanderPico AlexanderPico added the script app idea Cytoscape functionality that could be implemented as a script app label Apr 22, 2021
@AlexanderPico AlexanderPico self-assigned this Apr 22, 2021
@AlexanderPico
Copy link
Member Author

AlexanderPico commented Apr 22, 2021

lapply would need to import a couple common packages probably, e.g., stringr.

Perhaps it could support custom package installation if :: syntax is used?

@AlexanderPico
Copy link
Member Author

Hmm... Need to think about this some more. Some of these ideas might stretch the script app idea too far. They should perform simple pre-written functions and integrated simply into the GUI (e.g., Apps menu and maybe certain context menus). Prompting users with input dialogs, etc. would break the simplicity of wrapping scripts in a template java app. But then again, maybe some script apps can be more sophisticated...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
script app idea Cytoscape functionality that could be implemented as a script app
Projects
None yet
Development

No branches or pull requests

1 participant