transcript_capture_efficiency¶
- besca.pl.transcript_capture_efficiency(adata, ax=None, figsize=None)[source]¶
Plot total gene counts vs detection probability.
Visualize the transcript capture efficiency curve by plotting the total gene counts on the x-axis and the detection probability on the y-axis.
- Parameters:
adata (AnnData) – AnnData object containing data that is to be visualized. Genes need to be in coloumns and cells in rows
ax (axes | default = None) – pass the axes class to which your figure should be added
figsize ((width, height) or None | default = None) – optional parameter to define the figure size of the plot that is to be generated
- Returns:
the figure is displayed
- Return type:
None
Example
Display transcript capture efficiency plot. >>> import besca as bc >>> import matplotlib.pyplot as plt >>> adata = bc.datasets.simulated_pbmc3k_raw() >>> fig, ax = plt.subplots(1) >>> bc.pl.transcript_capture_efficiency(adata,ax=ax)