Skip to content

add measureRWCperObj#308

Open
emiglietta wants to merge 24 commits into
masterfrom
measureRWCperObject
Open

add measureRWCperObj#308
emiglietta wants to merge 24 commits into
masterfrom
measureRWCperObject

Conversation

@emiglietta
Copy link
Copy Markdown
Collaborator

Measure Rank-Weighed Colocalization coefficient with both ranks and thresholds (as a % of max pixel intensity) being calculated on an per-object basis.

This is useful when total pixel intensity in one image is variable from object to object (e.g. because of over-expression strategy in cells) and you want the RWC results to be independent of those changes.

emiglietta and others added 24 commits August 16, 2024 13:47
Now, I have to create the for loop function.
I deleted of commented all parts having to do with other measurements (including per image measurements) and also removed if statements, assuming here wants_obects is always True and perform_RWC is always True
in order to escape import errors in CP (name of file must be all lower case) and debugger cache (Nodar had to change the actual name bc the previous capitalized one remained cached)
looks on its way but i messed too much with the code before, might have to restart fresh
still have to check that the values make sense
add comments clarifying R_perObj and Di_perObj
Need to check why Correlation_RWCperObj_V5_ER gives inf values and values way above 1!
measure absolute and relative (vs the pixels of the object) above-threshold (both thresholds) pixels
I changed thresholding to be >= instead of >, bc otherwise, pixels of value 0 get automatically excluded no matter the threshold
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

Successfully merging this pull request may close these issues.

1 participant