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

GetFlowJoLabels #63

Open
Aminach1 opened this issue Feb 15, 2024 · 1 comment
Open

GetFlowJoLabels #63

Aminach1 opened this issue Feb 15, 2024 · 1 comment

Comments

@Aminach1
Copy link

Aminach1 commented Feb 15, 2024

Hello,

Thank you for the great package!

I wanted to extract the manual labels with the function "GetFlowJoLabels" so that I can establish a comparison between manual and automated. Unfortunately, I got the error message: Error in manualMatrix[, cellType] : subscript out of bounds

gatingResult <- GetFlowJoLabels(fcs.dir, wspFile,
cellTypes = cellTypes,
getData = TRUE, sample_names_from="sampleNode")

Do you have any ideas how I could solve this?
Thank you!

@gmillerscripps
Copy link

Hi @Aminach1 are you confident that all of your cellTypes are present in the flowJo workspace?

You could start with:

gatingResult <- GetFlowJoLabels(fcs.dir, wspFile,
cellTypes = NULL,
getData = TRUE, sample_names_from="sampleNode")

and then look at: print(levels(gatingResult[["manual"]])) to determine if your cellTypes are present.

Hope this helps. If this works, I am curious to know if the results match the gated numbers that you see in your flowJo workspace.

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