meyer-lab / tHMM

A general Python framework for using hidden Markov models on binary trees or cell lineage trees.
https://asmlab.org
MIT License
10 stars 1 forks source link

edited permute states function #889

Closed Farnazmdi closed 2 years ago

Farnazmdi commented 2 years ago

I had not noticed that we have the permute_states function. So I just made the edits you mentioned in the other PR. This function takes in the tHMMobject and a mapping array to rearrange the states.

codecov[bot] commented 2 years ago

Codecov Report

Merging #889 (06e8b92) into master (072c570) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #889   +/-   ##
=======================================
  Coverage   81.33%   81.34%           
=======================================
  Files          26       26           
  Lines        2159     2160    +1     
=======================================
+ Hits         1756     1757    +1     
  Misses        403      403           
Flag Coverage Δ
unittests 81.34% <100.00%> (+<0.01%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
lineage/Analyze.py 87.35% <100.00%> (+0.14%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 072c570...06e8b92. Read the comment docs.

Farnazmdi commented 2 years ago

Done.