| mbicPlot {DR.SC} | R Documentation | 
MBIC plot visualization
Description
Intuitive way of visualizing how modified BIC values changes across different number of clusters
Usage
  mbicPlot(seu, criteria="MBIC")
Arguments
| seu | an object of class  | 
| criteria | a string specifying the information criteria such as AIC, BIC and MBIC to be plotted, default as MBIC. | 
Details
Nothing
Value
return a ggplot2 object.
Note
nothing
Author(s)
Wei Liu
References
None
See Also
None
Examples
  ## we generate the spatial transcriptomics data with lattice neighborhood, i.e. ST platform.
  seu <- gendata_RNAExp(height=20, width=20,p=100, K=4)
  library(Seurat)
  seu <- NormalizeData(seu)
  # choose spatially variable features
  seu <- FindSVGs(seu)
  ## Just for illustrating the usage of mbicPlot
  seu[["RNA"]]@misc[['icMat']] <- data.frame(K=2:5, MBIC=c(105, 101, 99, 108))
  mbicPlot(seu)
[Package DR.SC version 3.4 Index]