scphylo.ul.is_conflict_free_gusfield#
- scphylo.ul.is_conflict_free_gusfield(df_in)[source]#
Check conflict-free criteria via Gusfield algorithm.
This is an implementation of algorithm 1.1 in [Gusfield_1991].
The order of this algorithm is \(O(nm)\) where n is the number of cells and m is the number of mutations.
- Parameters
df_in¶ (
pandas.DataFrame
) – Input genotype matrix.- Returns
A Boolean checking if the input conflict-free or not.
- Return type
Examples
>>> sc = scp.datasets.test() >>> scp.ul.is_conflict_free_gusfield(sc) False
See also
Examples#
Reconstruct tree by PhISCS-BnB
Reconstruct tree by PhISCS-BnB
Reconstruct tree by Trisicell-Boost
Reconstruct tree by Trisicell-Boost
Reconstruct tree by gpps
Reconstruct tree by OncoNEM
Reconstruct tree by PhISCS
Reconstruct tree by ScisTree
Reconstruct tree by SCITE
Reconstruct tree by SiCloneFit
Reconstruct tree by SiCloneFit
Reconstruct tree by SPhyR