-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ready for Figure generation #9
Comments
@josiahseaman Could you please explain the first point? I understand it as a duplicate of #2? |
Ah it just came to my mind, what you meant with adjacent connectors. |
100% height of a component = 100% of the individuals which participate in the component. That way LinkColumn height to be proportional. eg. 20% or 5% of population has this SV. |
I think we also need: |
Adjacent connections will show that a path is present in the component, even when it doesn't have any SVs. Without vertical compression, that does give you an indication of where a path starts or stops (kinda). But with vertical compression on (no SV phase) that per-row information is not visible. We could include a special connector symbol for beginning and end, but I think #2 is a low priority. |
…t in the Viewport. So now even 2,000+ paths will fit and there's no blank unused space.
…t in the Viewport. So now even 2,000+ paths will fit and there's no blank unused space.
…res LinkColumn used for adjacent connections #9
Ok, I fixed this via d0261fb. I suspect, that we might run into other issues related to Still need to adjust the width of the adjacent connectors. |
@josiahseaman As you can see here, the width of the adjacent connectors is too wide. Removing Schematize/src/ComponentRect.js Line 93 in 0df3163
But then the x-coords of most! components and links does not fit anymore. We need to move a component to the left, if we have drawn any connectors. If not, we should not move them. See e.g. between the 4th and 5th component in the picture above. The space there is one binsPerPixel smaller compared to when a connector was drawn between two components. |
Adjacent connectors have been added as the last LinkColumn in Adjacent connectors should be our column padding size, not binsPerPixel. Sorry, I didn't know where that came from. So that we don't run into this in the future, I think I'll introduce a JSON version number which the program checks and raises an error if the data was produced in a different version than what it's expecting. That'll keep us from getting our data files crossed. @ekg may want to do the same thing if there's any plans to update the ODGI bin output. |
It's not the case that all bins will be connected to adjacent ones. A graph
can have unaligned components, and these won't link to anything else.
…On Mon, Feb 3, 2020 at 5:10 PM Josiah Seaman ***@***.***> wrote:
Adjacent connectors have been added as the last LinkColumn in departures.
That's why I added departures.length - 1. The same could probably be done
for arrivals as well. Since this is to reflect a change in the data, any
old data not updated to the current format (generated by
component_segmentation after 35807d427a07816e6efdec98bac330701899eaad) will
render wrong.
Adjacent connectors should be our column padding size, not binsPerPixel.
Sorry, I didn't know where that came from. So that we don't run into this
in the future, I think I'll introduce a JSON version number which the
program checks and raises an error if the data was produced in a different
version than what it's expecting. That'll keep us from getting our data
files crossed.
@ekg <https://github.com/ekg> may want to do the same thing if there's
any plans to update the ODGI bin output.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9?email_source=notifications&email_token=AABDQEIMNSD2YEEGNWZIWU3RBA6WTA5CNFSM4KMYJJDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUNGJQ#issuecomment-581489446>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABDQEODTPIYWOZEUJ6GSGDRBA6WTANCNFSM4KMYJJDA>
.
|
That's a very interesting point! Wouldn't their co-occurrence in a Path cause them to be linked? If they weren't connected to anything, wouldn't the sort move them to the end or beginning? |
This reverts commit d0261fb. Commit was made due to lack of communication and introduces some hard to debug errors.
…erRow so that they don't always need to be one pixel tall. This should help sixref not look so squished.
…lumn(). Refactored leftXStart to simplify code.
So I raised a false flag by testing with malformed data....... sorry! |
Thanks for spotting that. I'm sorry I didn't communicate the data format change more clearly. I've learned my Lesson. I think I'll work on the Histogram feature next, but this would be much more effective with a Toggle Input for the user to turn on and off vertical compression. @subwaystation would you like to try your hand at getting a toggle connected to |
…ar they are alternatives to LinkColumns
…ppy with the behavior of componentDidMount containing resetRenderStats
All 3 features that I wanted for this issue are now in master. Mobx state updates could certainly be cleaner, but it meets our MVP needs. Matrix will be a separate issue. |
Even more immediate than JBrowse issues 2-8 is the need to get Figures for our paper. Since the browser context won't be in the paper, we need to focus on just the rendering window. We can manually input things like start and stop #4 by editing the code.
The text was updated successfully, but these errors were encountered: