celldisect.PerturbationEmbedding.rebuild_for_mapping

PerturbationEmbedding.rebuild_for_mapping(new_category_names: list) None[source]

Rebuild the weight matrix for a different category-to-index mapping.