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

Update hmm.py, make the window paramter activate of segment_hmm function #835

Merged
merged 1 commit into from
Aug 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cnvlib/segmentation/hmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def segment_hmm(cnarr, method, diploid_parx_genome, window=None, variants=None,
# NB: Incorporate weights into smoothed log2 estimates
# (Useful kludge until weighted HMM is in place)
orig_log2 = cnarr["log2"].values.copy()
cnarr["log2"] = cnarr.smooth_log2() # window)
cnarr["log2"] = cnarr.smooth_log2(window)

logging.info("Building model from observations")
model = hmm_get_model(cnarr, method, diploid_parx_genome, processes)
Expand Down
Loading