scFates.pl.graph¶
- scFates.pl.graph(adata, basis=None, size_nodes=None, alpha_nodes=1, linewidth=2, alpha_seg=1, color_cells=None, tips=True, forks=True, nodes=[], ax=None, show=None, save=None, **kwargs)¶
Project principal graph onto embedding.
- Parameters
- adata :
AnnData
Annotated data matrix.
- basis :
str
|None
Optional
[str
] (default:None
) Name of the obsm basis to use.
- size_nodes :
float
|None
Optional
[float
] (default:None
) Size of the projected prinicpal points.
- alpha_nodes :
float
(default:1
) Alpha of nodes.
- linewidth :
float
(default:2
) Line width of the segments.
- alpha_seg :
float
(default:1
) Alpha of segments.
- color_cells :
str
|None
Optional
[str
] (default:None
) cells color
- tips :
bool
(default:True
) display tip ids.
- forks :
bool
(default:True
) display fork ids.
- nodes :
List
|None
Optional
[List
] (default:[]
) display any node id.
- ax
Add plot to existing ax
- show :
bool
|None
Optional
[bool
] (default:None
) show the plot.
- save :
str
|bool
|None
Union
[str
,bool
,None
] (default:None
) save the plot.
- kwargs
arguments to pass to
scanpy.pl.embedding()
- adata :
- Returns
- Return type
If show==False a
Axes