Last chance! 50% off unlimited learning
Sale ends in
This function computes the projections of cells onto inter-cluster links in a high-dimensional embedded space.
projcells(object, cthr = 5, nmode = TRUE, knn = 3, fr = FALSE, um = FALSE)
An Ltree class object with all information on cell projections onto links stored in the ldata
slot.
Ltree
class object.
Positive integer number. Clusters to be included into the StemID2 analysis must contain more than cthr
cells. Default is 5.
logical. If TRUE
, then a cell of given cluster is assigned to the link to the cluster with the smallest average distance of
the knn
nearest neighbours within this cluster. Default is TRUE
.
Positive integer number. See nmode
. Default is 3.
logical. Use Fruchterman-Rheingold layout instead of t-SNE for dimensional-reduction representation of the lineage graph. Default is FALSE
.
logical. Use umap representation instead of t-SNE for dimensional-reduction representation of the lineage graph. Default is FALSE
.
sc <- SCseq(intestinalDataSmall)
sc <- filterdata(sc)
sc <- compdist(sc)
sc <- clustexp(sc)
sc <- findoutliers(sc)
sc <- comptsne(sc)
ltr <- Ltree(sc)
ltr <- compentropy(ltr)
ltr <- projcells(ltr)
Run the code above in your browser using DataLab