Detects community substructure by Louvain community detection
CID.Louvain
determines Louvain clusters from an edge list.
CID.Louvain(edges)
edges |
A data frame or matrix with edges |
A character vector with the community substructures of the graph corresponding to Louvain clusters.
## Not run: # Loads edges file.dir = "https://kleintools.hms.harvard.edu/tools/client_datasets/" file = "CITESEQ_EXPLORATORY_CITESEQ_5K_PBMCS/FullDataset_v1_protein/edges.csv" download.file(paste0(file.dir, file, "?raw=true"), destfile = "edges.csv") # data.dir is your path to the "edges.csv" file edges = CID.LoadEdges(data.dir = ".") # get louvain clusters from edge list clusters = CID.Louvain(edges) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.