Description Usage Arguments Value Examples
View source: R/PlotFunctions.R
Plot the visualization of constructed Minimum Spanning Tree based on the clustering results of RCSL
1 2 3 4 5 6 7 8 | PlotMST(
drData,
clustRes,
TrueLabel,
dataName = "",
fontSize = 12,
VisualMethod = "umap"
)
|
drData |
preprocessed gene expression data |
clustRes |
the clustering results identified by RCSL |
TrueLabel |
the real cell types to color the dots in plot |
dataName |
the name of the data that will be showed in the plot |
fontSize |
the font size of the plot |
VisualMethod |
the method for 2D visualization including UMAP,t-SNE and PCA |
MSTPlot ggplot object of the visualization of constructed MST
1 2 3 4 5 6 | 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)
PlotMST(res_SimS$drData,res_BDSM$y,TrueLabel)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.