L6--Programming task—Bipartite network analysis (15’) Bipartite network: A network consists of two sets of nodes and edges only connect nodes from different sets of nodes. https://networkx.org/documentation/stable/reference/algorithms/bipartite.html Deliverable: a) A short report (800 words ± 10%) presenting and elaborating the analysis results of the questions below. b) The python code c) Deadline: By March 18, 11:55pm Dataset: plant pollinator network This is a bipartite network modeling insect-plant pollinating relationships. In the node_L6.csv file, insects are the nodes with the value of ‘pollinator’ equal to 1, and plants are the other node set with the value of ‘pollinator’ equal to 0. In this task, you all are invited to generate a short report (around 800 words) about the analysis results of this bipartite network by addressing the questions below. (you can use methods beyond network analysis to address the questions, if appropriate) More information about the dataset can be found from this article: Kato, M., Kakutani, T., Inoue, T., & Itino, T. (1990). Insect-flower relationship in the primary beech forest of Ashu, Kyoto: an overview of the flowering phenology and the seasonal pattern of insect visits. Contributions from the biological laboratory, Kyoto University, 27(4), 309-376. Questions 1. Import the dataset and construct a bipartite network and report the summary information of the bipartite network. Please make sure to interpret the results within context (e.g the number of nodes in node_set_1 is 1000, which means there are 1000 insects in the dataset) a. Number of nodes in each node set b. Number of edges in the bipartite network 2. What plants are pollinated by the most insects? What insects pollinate the most plants? 3. Which pair of insects are the strongest competitors to each other? (they pollinate the largest number of same plants) 4. Project the bipartite network into two one-mode networks a. Interpret the two projected networks (what do the edges mean in each projected network?). a. Provide the summary information of the two projected networks (e.g. number of nodes, number of edges, average degree) as well as interpret this information in context. 5. Identify the nodes with the largest degree centrality in both projected networks a. Interpret the meaning of degree centrality within this context b. Compare the results with question 2, discuss the differences of these two results 6. Identify the isolated nodes in each projected network (if there are any), and regardless, interpret the meaning of isolated nodes in context. 7. Analyze the subgroups in the two projected networks by selecting an appropriate cluster analysis approach, and explain the results (refer to Lecture 4) 8. Compute and report the degree assortativity coefficient in the two projected networks and explain the result in context 9. Visualization the bipartite network as well as the two projected networks. a. In the bipartite network, color the node based on the “pollinator” value b. In the two projected networks, size the nodes based on the degree centrality.
欢迎咨询51作业君