VariantSubcloneTable.get_gene_and_gt_names

VariantSubcloneTable.get_gene_and_gt_names#

missionbio.mosaic.workflows.variant_subclone_table.VariantSubcloneTable.get_gene_and_gt_names

VariantSubcloneTable.get_gene_and_gt_names(subclone_df: DataFrame) Dict[str, str]#

Rename the variants based on the genotype profile

Parameters:
subclone_dfpd.DataFrame

The dataframe obtained after running GroupByGenotype.subclone_table

Returns:
DictThe mapping from the numerical names of the

subclond_df clones to descriptive names for the clones based on their genotypic expression profile


< Class VariantSubcloneTable