Cell2clone

Project home page here

cell2clone.classify_lightchain_or_trbc(adata)

Classify cells by receptor-chain usage.

cell2clone.compute_sample_celltype_clonality(...)

Compute sample-by-cell-type clonality metrics from two-state receptor classifications.

cell2clone.permutation_test(df, ...[, ...])

Test whether a cell type contains more highly clonal samples than a reference cell type.

cell2clone.plot_chain_skew_violin(df, adata)

Plot sample-level receptor-chain skew across cell types.

cell2clone.plot_clone_size_score_violin(df_class)

Add sample-level clonality metrics to adata.obs.

cell2clone.add_df_class_to_adata_obs(adata, ...)

Add sample-level clonality metrics to adata.obs.

cell2clone.subset_top_bottom_clonal_samples(...)

Select samples with the highest, lowest, or intermediate clonality.

cell2clone.leiden_chain_clones_sampleaware(...)

Detect clonal populations independently within each sample.