distmat | R Documentation |
This function calculates distances matrices between cells of different time points based on metabolic labeling RNA profiles.
distmat(prev.t, next.t, prevAssay, nextAssay, gene_subset = NULL)
prev.t |
Cells to be used from the previous time point in distance matrix calculation. |
next.t |
Cells to be used from the next time point in distance matrix calculation. |
prevAssay |
Name of the expression assay of cells from the previous time point. |
nextAssay |
Name of the expression assay of cells from the next time point. |
gene_subset |
Set a subset of genes on which trajectories should be calculated. Other genes will be disregarded. |
Distance matrix between cells from two time points.
# Full vignette available on https://grandr.erhard-lab.de/articles/web/hetseq.html
obj.list <- SplitObject(seuratObject, split.by = "time")
D.list=list(
distmat(treatment.list[["0h"]],treatment.list[["2h"]], "RNA", "prevRNA"),
distmat(treatment.list[["2h"]],treatment.list[["4h"]], "RNA", "prevRNA")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.