Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

The solution of protein interaction Network error reporting in R language Visual STRING Analysis

Shulou Source: shulou.com Published: 2022-06-01 20:52:08 10月01日 Update

Today, I will talk to you about the solution of protein interaction network error reporting in R language visualization STRING analysis, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

Protein interaction Network (PPI) for R language Visualization STRING Analysis

Some friends left messages saying that they were repeating.

Net nodes edges nodes

Node

1 A

2 B

3 C

4 D

> edges

Node1 node2

1 A B

2 A C

3 A D

4 B C

5 B D

6 C D

And then there's visualization.

Library (ggraph)

Library (igraph)

Net which (edges1 $node2 in% nodes$node)

[1] 1 2 3 4 5 6

> which (! Edges1 $node2% in% nodes$node)

[1] 7

This means that row 7 of the node2 column is not in nodes.

Then we can delete this line.

Another way is to add E to the node df1

Tags: File node network visualization protein language gene analysis content method method next between data input clear one line three two reason Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Apple macOS Shulou Technology MySQL