Classification learning of the signaling networks
netClustering(
object,
slot.name = "netP",
type = c("functional", "structural"),
comparison = NULL,
k = NULL,
methods = "kmeans",
do.plot = TRUE,
fig.id = NULL,
do.parallel = TRUE,
nCores = 4,
k.eigen = NULL
)
CellChat object
the slot name of object that is used to compute centrality measures of signaling networks
"functional","structural"
a numerical vector giving the datasets for comparison. No need to define for a single dataset. Default are all datasets when object is a merged object
the number of signaling groups when running kmeans
the methods for clustering: "kmeans" or "spectral"
whether showing the eigenspectrum for inferring number of clusters; Default will save the plot
add a unique figure id when saving the plot
whether doing parallel when inferring the number of signaling groups when running kmeans
number of workers when doing parallel
the number of eigenvalues used when doing spectral clustering