Skip to content

Retain 'bad' genes if desired#24

Merged
emjbishop merged 7 commits into
mainfrom
keep-bad-genes
Oct 20, 2025
Merged

Retain 'bad' genes if desired#24
emjbishop merged 7 commits into
mainfrom
keep-bad-genes

Conversation

@emjbishop

Copy link
Copy Markdown
Collaborator

This PR adds a parameter (bad_genes_col) to the convert_gene() function that allows a user to retain unconvertable gene names in an extra column (bad_genes) that gets appended to the output data frame.

I added a test for this and documented within the docstring and FAQ page.

Modify the convert_gene() function to append a column to the output
dataframe that contains all the bad genes for each row from the input
dataframe separated by a ','. This adds a new parameter
'bad_genes_col' (bool).
@emjbishop emjbishop linked an issue Oct 20, 2025 that may be closed by this pull request
@emjbishop emjbishop merged commit 55dfcd3 into main Oct 20, 2025
29 checks passed
@emjbishop emjbishop deleted the keep-bad-genes branch October 20, 2025 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow retention of original gene names

1 participant