# HG changeset patch # User ebi-gxa # Date 1726394188 0 # Node ID a33eb7d3b05314de1a74278974f9afc642f8844f # Parent c9aaac87c58396135b00055a023e6ebda4ad9670 planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 54818daabaf1251642a267e5766f13741cb7faeb diff -r c9aaac87c583 -r a33eb7d3b053 decoupler_pseudobulk.py --- a/decoupler_pseudobulk.py Mon Jul 15 10:56:46 2024 +0000 +++ b/decoupler_pseudobulk.py Sun Sep 15 09:56:28 2024 +0000 @@ -320,6 +320,21 @@ min_counts=args.min_counts, ) + print("Created pseudo-bulk AnnData, checking if fields still make sense.") + print( + "If this fails this check, it might mean that you asked for factors " + + "that are not compatible with you sample identifiers (ie. asked for " + + "phase in the factors, but each sample contains more than one phase, " + + "try joining fields)" + ) + if factor_fields: + check_fields( + factor_fields, + pseudobulk_data, + context=" after creation of pseudo-bulk AnnData", + ) + print("Factors requested are adequate for the pseudo-bulked AnnData!") + # Plot pseudobulk samples plot_pseudobulk_samples( pseudobulk_data,