<｜begin▁of▁sentence｜>### Instruction:
As a medical research scientist working on a project to analyze connections between different biological components, such as genes and proteins, you may need to store and share the network data in a standardized format. To achieve this, you can utilize the NetworkX library to represent the network of connections as a graph, and then use the `write_graphml` function to save the graph to a GraphML file, which is a widely used format for representing graph data. In this case, you would write the graph with the given edge set [(0, 1), (0, 2), (1, 2), (1, 3)] to a GraphML file named 'sample_graph.graphml' using the NetworkX library.
### Response:
from igraph import Graph

# Create a sample graph
g = Graph(edges=[(0, 1), (0, 2), (1, 2), (1, 3)])

# Write the graph to a GraphML file
g.write_graphml('sample_graph.graphml')
<|EOT|>
