This function extracts projections of all cells in a cluster and plots a heatmap of these hierarchically clustered projections (rows) to all other clusters (columns). A minimum spanning tree of the cluster centers is overlaid for comparison.
getproj(object, i, show = TRUE, zscore = FALSE)A list ot two components:
a data.frame of projections for all cells in cluster i (rows) onto all other clusters (columns).
a data.frame of z-transformed projections for all cells in cluster i (rows) onto all other clusters (columns).
Ltree class object.
Cluster number. This number has to correspond to one of the RaceID3 clusters included for the StemID2 inference, i.e. to a number present
in slot ldata$lp.
logical. If TRUE, then plot heatmap of projections. Default is TRUE.
logical. If TRUE and show=TRUE, then plot z-score-transformed projections. If TRUE and show=FALSE,
then plot untransformed projections. Default is FALSE.