<｜begin▁of▁sentence｜>### Instruction:
Given an Erdős–Rényi random graph with 10 vertices and 20 edges, how can you create a vertex cover using igraph, get the subgraph of that cover, and then plot the graph highlighting the vertices that make up the cover?
### Response:
from igraph import Graph

# Create new graph
g = Graph.Erdos_Renyi(n=10, m=20)
# Generate Vertex Cover with the minimum number of vertices
g.vs['label'] = range(g.vcount())

# Find the vertex cover using a heuristic
cover = g.mincut().add_cut_vertices()
vertex_cover = g.vs[cover]

# Get the subgraph corresponding to the vertex cover
subgraph = g.subgraph(vertex_cover)

# Print the summary of the vertex cover
print('Vertex cover summary:', vertex_cover.summary())

# Plot the graph and highlight the vertex cover
plot = g.vs['color'] = 'light blue'
vertex_cover['color'] = 'red'
ig.plot(g, mark_groups=cover)
<|EOT|>
