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

unable to find an inherited method for function ‘compensate’ for signature ‘"flowFrame", "NULL"’ #59

Open
yueli8 opened this issue Nov 25, 2022 · 2 comments

Comments

@yueli8
Copy link

yueli8 commented Nov 25, 2022

Hello,

Thank you for developing so nice software.

It goes well with the demo data of "68983.fcs", but gets wrong with my data.

Thank you in advance for your great help!

Best,

Yue

fileName <- system.file("extdata", "s_Processed.fcs", package="FlowSOM")
ff <- flowCore::read.FCS(fileName)
comp <- flowCore::keyword(ff)[["SPILL"]]
ff <- flowWorkspace::compensate(ff, comp)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘compensate’ for signature ‘"flowFrame", "NULL"

s_Processed.zip

@SamGG
Copy link
Contributor

SamGG commented Nov 25, 2022

This is not a FlowSOM error. The compensate function of the flowWorkspace package requires a gating strategy or cytoFrame or cytoSet whereas the compensate function of the flowCore package uses a flowFreame. This might be misleading, but as you prefix the function by the package name, I assume that you know what you are doing. Interpreting such an error is not straightforward at first sight, but always try understand the error on your own or with the help of people around you. Learning R is not easy, but you will get benefits. Cheers.

@SofieVG
Copy link
Owner

SofieVG commented Nov 25, 2022 via email

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

3 participants