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

Issue with logtGml2_trans and custom transformations #370

Open
yannabraham opened this issue Feb 7, 2022 · 1 comment
Open

Issue with logtGml2_trans and custom transformations #370

yannabraham opened this issue Feb 7, 2022 · 1 comment

Comments

@yannabraham
Copy link

When working with an experiment containing a channel transformed with logtGml2_trans, I can save the GatingSet with save_gs but using load_gs triggers the following error:

Error in .cpp_loadGatingSet(path, backend_readonly, select.sn, verbose,  : 
  unknown type of transformation archive!

Here is a reproducible example:

library(flowWorkspace)
data(GvHD,package = "flowCore")

gs <- GatingSet(GvHD[1:4])

transList <- transformerList(c("FL1-H","FL2-H"),
                              list(asinhtGml2_trans(),
                                   logtGml2_trans()))

gs <- transform(gs,transList

gh_get_transformations(gs[[1]])

temp.dir <- file.path(tempdir(),"gmlTrans")

save_gs(gs,temp.dir,backend_opt = "move")
## the following command triggers an error
res <- load_gs(temp.dir)
@mikejiang
Copy link
Member

Thank you for reporting the error, I pushed the fix, it should work now.
The fix is also merged into bioconductor the current release and development branch which will appear in one or two days

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

No branches or pull requests

2 participants