-
Notifications
You must be signed in to change notification settings - Fork 15
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
dynamically choosing proteins from volcano plot #389
base: development
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that feature already :-)
@@ -202,14 +202,14 @@ def gather_parameters_and_do_analysis( | |||
raise ValueError(f"Analysis method {analysis_method} not found.") | |||
|
|||
|
|||
def gather_uniprot_data(features: list) -> None: | |||
def gather_uniprot_data(features: list[str]) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
List[str]
.. we're still at 3.8 :-)
upregulated_genes = [ | ||
key for key in regulated_genes_dict if regulated_genes_dict[key] == "up" | ||
] | ||
downregulated_genes = [ | ||
key for key in regulated_genes_dict if regulated_genes_dict[key] == "down" | ||
] | ||
|
||
# Create dataframes with checkboxes for selection | ||
upregulated_genes_df = pd.DataFrame( | ||
{"Protein": upregulated_genes, "Selected": [True] * len(upregulated_genes)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the consensus? do we use genes or proteins everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DataSet._create_id_dicts
defines the current consensus on the representation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
Added functionality to choose which proteins to look up in uniprot and subsequently analyze with an LLM