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

Error occurred during data transformation #194

Open
cleanylee opened this issue Dec 14, 2023 · 11 comments
Open

Error occurred during data transformation #194

cleanylee opened this issue Dec 14, 2023 · 11 comments
Labels
Help Wanted Extra attention is needed

Comments

@cleanylee
Copy link

Error occurred during data transformation, what could be wrong?

GS<- cyto_setup(GS_path)
GS<- cyto_transform(GS, type="biex")
Error: 'trans' must be a list of transformer objects (generated by scales::trans_new method)

@cleanylee cleanylee added the Help Wanted Extra attention is needed label Dec 14, 2023
@DillonHammill
Copy link
Owner

A change was recently made to the scales package which required fixes in flowWorkspace. You will need to update to the latest version from BioC to get the fix:

BiocManager::install("flowWorkspace")

@georgersmith99
Copy link

I updated with: BiocManager::install("flowWorkspace") and am still having the same issue

@cleanylee
Copy link
Author

I updated with: BiocManager::install("flowWorkspace") and am still having the same issue

If you are running R on windows like I do, I found some error comes from directory permission issue while updating flowWorkspace. I tried to re-install R and change the default library directory to somewhere else (like "C:\R"). Now it works for me again.

@georgersmith99
Copy link

Thank you for the help!
I gave it a go (albeit on macOS) but unfortunately i get the same response. I don't get an error when updating flowWorkspace it seems.

@ChrisSteel-bio
Copy link

@georgersmith99 did you manage to solve this? I'm having the same problem, albeit using ubuntu.

@georgersmith99
Copy link

@georgersmith99 did you manage to solve this? I'm having the same problem, albeit using ubuntu.

unfortunately not, i updated flowWorkspace manually and changed the directory of install and still getting the same issue

@ChrisSteel-bio
Copy link

@georgersmith99 After hours of trouble shooting I managed to get it to run by downgrading the scales package.

remove.packages("scales")

remotes::install_version("scales", version = "1.2.0")

Hopefully this can help.

@georgersmith99
Copy link

@georgersmith99 After hours of trouble shooting I managed to get it to run by downgrading the scales package.

remove.packages("scales")

remotes::install_version("scales", version = "1.2.0")

Hopefully this can help.

Yes works for me! Thank you very much!

@djhammill
Copy link
Collaborator

djhammill commented Jan 5, 2024

Apologies for the delay, I have been away. The fix for the new version of scales hasn't been merged for flowWorkspace as yet, so you will need to install directly from GitHub to get the fix:

devtools::install_github("RGLab/flowWorkspace", ref =  "hotfix/update-according-to-latest-scales-package")

I am working on a fix that will work with both versions of scales.

@rebeccaongmtu
Copy link

I downgraded "scales" to v.1.2.0, and tried to reproduce an image from the compensation vignette. Although my code ran, the data didn't transform properly. So you might want to be wary of the data you're generating using this approach and check that it was actually transformed.

What it should look like:
Compensation-4

What I get:
image


I'm not able to install the fix. It says:

Error in parse_repo_spec(repo) : 
  Invalid git repo specification: 'RGLab/flowWorkspace/'

@LenHC
Copy link

LenHC commented Mar 20, 2024

I am having the same issue but the solutions above don't work for me...
devtools::install_github("RGLab/flowWorkspace/", ref = "hotfix/update-according-to-latest-scales-package")

I tried this one as well, but I get this error:
Error in parse_repo_spec(repo) :
Invalid git repo specification: 'RGLab/flowWorkspace/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants