add measureRWCperObj#308
Open
emiglietta wants to merge 24 commits into
Open
Conversation
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
…hold as greater only
Measure rwc per object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.