Skip to content
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

merge to master #24

Merged
merged 15 commits into from
Jan 25, 2021
Merged

merge to master #24

merged 15 commits into from
Jan 25, 2021

Conversation

Nanguage
Copy link
Collaborator

No description provided.

zhqu1148980644 and others added 15 commits January 14, 2021 21:38
- All tracks now inherit from Track base class
    - with three method:
        - plot(ax, gr: GenomeRange, **kwargs)    # all gr doest not support str input
        - fetch_plot_data(gr: GenomeRange, **kwargs) # gr2, resolution, normalize ... can be passed in kwargs
        - fetch_data(gr: GenomeRange, **kwargs)
    - Different types of plotting style are implemented in BaseTrack's mixin class.
    - Docs now can be build during inheritance, however this is not implemented yet
- Features now should be used like: Feature(color="xxx", name="xxx")
- galleries not tested:
    - [ ] decay
    - [ ] hicdiff
    - [ ] reso_normalize
    - [ ] selfish
    - [ ] smoothing
-
- Causes:
- Other changes:
    - add repr method for GenomeRange
    - HicMatBase now set all processing parameters and norm parameter to False
    - Cool and DotHic now set transform to log and norm to False as default
    - Change PlotHiC.norm to properties['norm'] for simplicity
    - Add plot_gr and plot_gr2 properties in HicMatBase to store the original plot GenomeRange
        - otherwise the genome_range will be expanded two times in HicDiff by calling fetch_plot_data
- Add `gr_updated` paramerter in HiCMatBase.fetch_plot_data.kwargs to avoid re-expand GenomeRanges in HiCDiff/Selfish
@Nanguage Nanguage merged commit 619db91 into master Jan 25, 2021
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.

None yet

2 participants