snapatac2.pl.tsse#
- snapatac2.pl.tsse(adata, show_cells=False, min_fragment=500, width=600, height=400, show=True, interactive=True, out_file=None)[source]#
Plot the TSS enrichment vs. number of fragments density figure.
- Parameters
adata (AnnData) – Annotated data matrix.
show_cells (bool) – Whether to show individual cells as dots on the plot
min_fragment (int) – The cells’ unique fragments lower than it should be removed
width (int) – The width of the plot
height (int) – The height of the plot
show (bool) – Show the figure
interactive (bool) – Whether to make interactive plot
out_file (str | None) – Path of the output file for saving the output image, end with ‘.svg’ or ‘.pdf’ or ‘.png’ or ‘.html’.
- Returns
If
show=False
andout_file=None
, anplotly.graph_objects.Figure
will be returned, which can then be further customized using the plotly API.- Return type
‘plotly.graph_objects.Figure’ | None
Examples