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

FindRecalSeries: Adjust the function to work with input dataframe containing spaces in colnames #52

Closed
KristinaGomoryova opened this issue Sep 9, 2024 · 1 comment · Fixed by #58
Assignees

Comments

@KristinaGomoryova
Copy link
Collaborator

The RecalList function returns a dataframe containing spaces in the column names (e.g. Mass Range). When importing the data into R, all spaces get replaced by dots (resulting in Mass.Range).

I think we should do colnames(df) <- gsub(" ", ".", colnames(df)) to ensure we get unified input

@KristinaGomoryova KristinaGomoryova changed the title Adjust the function to work with input dataframe containing spaces in colnames FindRecalSeries: Adjust the function to work with input dataframe containing spaces in colnames Sep 9, 2024
@KristinaGomoryova KristinaGomoryova self-assigned this Sep 9, 2024
@hechth
Copy link
Member

hechth commented Sep 10, 2024

We should rather change the colnames of the exported columns than of the import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants