-
Notifications
You must be signed in to change notification settings - Fork 9
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
Errors with CytoPy #8
Comments
I'm sorry that you've experienced issues. If you could provide specifics I will try my best to help. Have you followed the examples presented in the docs: https://cytopy.readthedocs.io/en/latest/ CytoPy is a framework of tools with a loose pattern of steps taken in analysis. It is designed for customisation and to be adaptable to your needs, therefore there isn't a "one size fits all" template for analysis, which reflects the nature of the biological data obtained in cytometry experiments. You can feel free to send me the script(s) you're currently working with to burtonrj@cardiff.ac.uk and I'll try my best to advise (note, I am on annual leave until Tuesday but I can try and get back to you as quickly as possible). |
Hi, Thanks for you reply and contact for further clarifications. I had few questions -
children = ChildPopulationCollection('threshold_1d') kwargs = dict(x='CD3',
template.apply('CD3_gate')
Note - I am using my own data. I tried altering the parent = cells argument, but that didnt help. I appreciate you taking the time for my queries during your holiday. Best, Rahul |
Hi, CytoPy was designed with a Notebook interface in mind, mainly because cytometry analysis is so visual. But there is no reason why you couldn't run the code in an IDE like PyCharm or Spyder. You just need to handle the matplotlib plot rendering. RE: your issue. So this error means that the parent specified in your gate definition can't be found, that is, it can't find a population called "cells". Try running this command: This will generate a population tree of existing populations in the instance of Gating/Template you are working with. |
Hi, I could run the code in other editors, but could not find the plot file, may be it was due to matplotlib rendering. For the error, i did run the code you suggested, I don't see the population tree. Instead I see 'root' as output. Any suggestions to resolve this. I think the gating should work to see the population tree right ? |
In the previous code that you posted, you specify the name of the parent population as 'cells':
See: Regarding the plotting problem. This is a genuine bug in the software at the moment and happens often with the "root" population since this population by default has the highest cell count. If the cell count is too high the plot appears in low resolution because the bin count for the 2D histogram is too low. I'll open a new issue and generate a fix soon, see #9 for details. |
Issues addressed in the new release, v1.0.0 |
Hi,
I am encountering quite a few errors while running CytoPy. It would be immensely helpful if you could provide a master or template script for an example experiment that I could run after installing CytoPy and see output.
Best regards,
Rahul
The text was updated successfully, but these errors were encountered: