GEX_lineage_trajectories: This is a function to infer single cell trajectories and identifying lineage structures on clustered cells. Using the slingshot library
Description
This is a function to infer single cell trajectories and identifying lineage structures on clustered cells. Using the slingshot library
Returns a list. Element [[1]] returns updated GEX object with the inferred pseudotime trajectories per lineage. [[2]] returns the UMAP with the grouped cells. [[3]] and [[4]] show the slingshot inferred trajectories in two different styles.
Arguments
GEX
GEX output of the VDJ_GEX_matrix function (VDJ_GEX_matrix[[2]]))
grouping
Determine by which identifier to group by. E.g. 'group_id' or default 'seurat_clusters' which are automatically generated in the clustering process.
cluster.num
A seurat cluster number for starting point of the lineage. Can be identified by using Seurat::DimPlot(VGM[[2]],group.by = "seurat_clusters"). Default is "0".