mnc {centiserve} R Documentation

## Find the maximum neighborhood component (MNC)

### Description

Maximum Neighborhood Component defined as:

MNC(v)=|V(MC(v))|

where where MC(v) is a maximum connected component of the G[N(v)] and G[N(v)] is the induced subgraph of G by N(v) and N(v) is neighborhoods of node v.

### Usage

```mnc(graph, vids = V(graph), mode = c("all", "out", "in"))
```

### Arguments

 `graph` The input graph as igraph object `vids` Vertex sequence, the vertices for which the centrality values are returned. Default is all vertices. `mode` Character constatnt, it specifies how to use the direction of the edges if a directed graph is analyzed. For 'out' only the outgoing edges are followed. For 'in' all vertices from which the source vertex is reachable in at most order steps are counted. 'all' ignores the direction of the edges. This argument is ignored for undirected graphs.

### Details

The neighborhood of a node v, nodes adjacent to v, induce a subnetwork N(v). The score of node v, MNC(v), is defined to be the size of the maximum connected component of N(v). The neighborhood N(v) is the set of nodes adjacent to v and does not contain node v.
More detail at MNC-Maximum Neighborhood Component

### Value

A numeric vector contaning the centrality scores for the selected vertices.

### Author(s)

Mahdi Jalili m_jalili@farabi.tums.ac.ir

### References

Lin, Chung-Yen, et al. "Hubba: hub objects analyzer-a framework of interactome hubs identification for network biology." Nucleic acids research 36.suppl 2 (2008): W438-W443.

### Examples

```g <- random.graph.game(20, 3/10)
mnc(g)
```

[Package centiserve version 1.0.0 Index]
{"ft_lang_label":"__label__en","ft_lang_prob":0.8580546,"math_prob":0.88644236,"size":1451,"snap":"2021-43-2021-49","text_gpt3_token_len":373,"char_repetition_ratio":0.11126468,"word_repetition_ratio":0.0,"special_character_ratio":0.25155064,"punctuation_ratio":0.12627986,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9905603,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-12-05T08:38:09Z\",\"WARC-Record-ID\":\"<urn:uuid:9bf607c7-678a-477e-96d1-fe20daa9928d>\",\"Content-Length\":\"3372\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:9ff68fa6-6796-4a7c-8e2f-94415cb1123a>\",\"WARC-Concurrent-To\":\"<urn:uuid:84390e90-9b11-44b4-af77-4ecea02501e5>\",\"WARC-IP-Address\":\"137.208.57.46\",\"WARC-Target-URI\":\"https://search.r-project.org/CRAN/refmans/centiserve/html/mnc.html\",\"WARC-Payload-Digest\":\"sha1:MUII4ATBKZ5VFJKJHF7CWOSTOWPBT3JW\",\"WARC-Block-Digest\":\"sha1:FKSVIPUW42QCTPYI2UECWQQN3ND4NLPL\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-49/CC-MAIN-2021-49_segments_1637964363149.85_warc_CC-MAIN-20211205065810-20211205095810-00319.warc.gz\"}"}