Replies: 14 comments
-
Hi @madinagy, It's difficult to say without seeing the code and the error (preferably with the stack trace). Any keywords in an FCS file's metadata should be available via the Kind regards, |
Beta Was this translation helpful? Give feedback.
-
Hi Scott!
Thanks for the quick response. I found out that if you are using FlowJo to
first export the fcs file and select all compensated parameters the
['spillover'] keyword is no longer available. I'm not totally sure why but
thought that was pretty interesting.
…On Thu, Aug 8, 2024 at 6:17 PM Scott White ***@***.***> wrote:
Hi @madinagy <https://github.com/madinagy>,
It's difficult to say without seeing the code and the error (preferably
with the stack trace). Any keywords in an FCS file's metadata should be
available via the Sample.metadata attribute, there's no filtering
applied. Always possible to have a bug, so would be interested in seeing
the stack trace.
Kind regards,
Scott
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJPECDALYQO2MWBI3UQUXBTZQPU7JAVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRYGAZDSOI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Interesting, maybe they were thinking if the compensated events are being exported then the matrix is no longer necessary. Just a guess, but I'm glad you figured it out. |
Beta Was this translation helpful? Give feedback.
-
Quick question for you: How would you recommend saving a fcs file with the
new compensation value changes I've made? Currently, I am saving it as
'sample.export(f'comps{timepoint}_{sets}.fcs', source= 'comps',
subsample=False)' but the graphs with my new compensation look nearly
identical to the old ones. I am thinking about changing it to xform? What
do you think?
Thanks!
Madi
…On Mon, Aug 12, 2024 at 11:12 AM Scott White ***@***.***> wrote:
Interesting, maybe they were thinking if the compensated events are being
exported then the matrix is no longer necessary. Just a guess, but I'm glad
you figured it out.
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJPECDGDQAU47A3IBB72M6LZRDGF5AVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZRGU4DGMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Madi, It should be -Scott |
Beta Was this translation helpful? Give feedback.
-
Thank you so much! I have been using
https://flowkit.readthedocs.io/en/latest/notebooks/flowkit-tutorial-part01-sample-class.html
as a resource as well which makes sense as to why I am not seeing the
results! On this website it uses 'comp'.
Thanks!
Madi
…On Wed, Aug 14, 2024 at 1:34 PM Scott White ***@***.***> wrote:
Hi Madi,
It should be source='comp' not 'comps'. I think that's why you aren't
seeing a difference.
-Scott
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJPECDGUVJK6DCBQB5SXTZTZROILPAVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUGAYDKMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry I misread your email. I am using 'comp', but for some reason I use
sample.apply_compensation(sample.metadata['spillover'])
# Remove or comment out the following line to avoid exporting files
sample.export(f'comps{timepoint}_{sets}.fcs', source= 'comp',
subsample=False)
and when I put the compensated file back into FlowJo it is exactly the
same. Do I need to move apply_compensation elsewhere?
thanks!
Madi
On Wed, Aug 14, 2024 at 1:39 PM Madilynn Nagy ***@***.***>
wrote:
… Thank you so much! I have been using
https://flowkit.readthedocs.io/en/latest/notebooks/flowkit-tutorial-part01-sample-class.html
as a resource as well which makes sense as to why I am not seeing the
results! On this website it uses 'comp'.
Thanks!
Madi
On Wed, Aug 14, 2024 at 1:34 PM Scott White ***@***.***>
wrote:
> Hi Madi,
>
> It should be source='comp' not 'comps'. I think that's why you aren't
> seeing a difference.
>
> -Scott
>
> —
> Reply to this email directly, view it on GitHub
> <#214 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BJPECDGUVJK6DCBQB5SXTZTZROILPAVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUGAYDKMQ>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Beta Was this translation helpful? Give feedback.
-
What do you see if you load the comp sample back info FlowKit as a new Sample? Is it changed then? |
Beta Was this translation helpful? Give feedback.
-
[image: FlowKit Comp.png][image: Original.png][image: bokeh_plot (28).png]
So the first two images are the original image and the compensated values.
The last image is using a bokeh plot. What do you imagine is going on here?
…On Wed, Aug 14, 2024 at 2:04 PM Scott White ***@***.***> wrote:
What do you see if you load the comp sample back info FlowKit as a new
Sample? Is it changed then?
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJPECDGMQROFAE7PUUFU3NDZROL3ZAVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUGAZDSMQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Sorry, the images didn't come through. I think you'll have to add them on the GitHub page & not through email. |
Beta Was this translation helpful? Give feedback.
-
The FlowJo plots appear to have the default biex transform applied but the FlowKit Bokeh plot looks untransformed. I suspect the original in FlowJo is pulling the spillover and automatically applying it. You could also check the compensation matrix to make sure it isn't a simple identity matrix. |
Beta Was this translation helpful? Give feedback.
-
Looking again, the original in FlowJo is showing it compensated, you can tell by the 'Comp-' prefix in the channel labels. In the comp'd export FlowJo is showing the source event data in the file (which was, of course, compensated). So it would be expected that they would be the same, they are both compensated. Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for the clarification and help! I appreciate the quick
response and helpful feedback!
…On Wed, Aug 14, 2024 at 2:30 PM Scott White ***@***.***> wrote:
Looking again, the original in FlowJo is showing it compensated, you can
tell by the 'Comp-' prefix in the channel labels. In the comp'd export
FlowJo is showing the source in the file (which was, of course,
compensated). So it would be expected that they would be the same, they are
both compensated. Hope that helps.
—
Reply to this email directly, view it on GitHub
<#214 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJPECDHE4K5Y2YH4WDP5SELZROO5RAVCNFSM6AAAAABMHAN2WOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUGA2TCMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi! I've been working with the same file and from time to time I get that 'spillover' does not work and I get an error. I'm working with version 1.1.2. Any suggestions on how to fix this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions