Description Usage Arguments Value Examples
View source: R/PlotFunctions.R
Infer the developmental trajectories based on the clustering results from RCSL
1 2 3 4 5 6 7 8 9 | PlotTrajectory(
gfData,
clustRes,
TrueLabel,
lineage,
fontSize = 12,
dataName = "",
VisualMethod = "umap"
)
|
gfData |
preprocessed gene expression data (each column represent a cell) |
clustRes |
the clustering results identified by RCSL |
TrueLabel |
the real cell types |
lineage |
the lineage obtained by getLineage() |
fontSize |
the size of font in the plot |
dataName |
the name of the data that will be showed in the plot |
VisualMethod |
the display method of 2-D visualization |
TrajectoryPlot ggplot object of the inferred developmental trajectories
1 2 3 4 5 6 7 8 | gfData <- GenesFilter(yan[1:100,1:15])
TrueLabel <- ann$cell_type1[1:15]
res_SimS <- SimS(gfData)
C <- EstClusters(res_SimS$drData,res_SimS$S)
res_BDSM <- BDSM(res_SimS$S,C)
Pseudo <- PlotPseudoTime(res_SimS$S,TrueLabel,startPoint=1)
Linea <- getLineage(res_SimS$drData,res_BDSM$y,Pseudo$pseudoTime)
PlotTrajectory(gfData,res_BDSM$y,TrueLabel,lineage=Linea)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.