<｜begin▁of▁sentence｜>### Instruction:
Given the connectome of the left Drosophila larva mushroom body, can you load the data, convert it to a NetworkX graph, compute the degree of each node, and visualize the connectome using a heatmap? Assuming the connectome data is accessed via the 'load_drosophila_left' function from the 'graspologic' package, which also provides the option to retrieve labels for each node.
### Response:
import networkx as nx
from graspologic.datasets import load_drosophila_left
from graspologic.plot import heatmap

# Load the Drosophila mushroom body connectome
adj_matrix, labels = load_drosophila_left(return_labels=True)

# Convert the adjacency matrix into a NetworkX graph
G = nx.from_numpy_array(adj_matrix)

# Use NetworkX function to compute the degree of each node
degrees = dict(G.degree())

# Print the degrees of the first 5 nodes
for node in sorted(degrees)[:5]:
    print(f'Node {node}: Degree {degrees[node]}')

# Visualize the connectome using a heatmap
heatmap(adj_matrix, inner_hier_labels=labels, title='Drosophila Connectome Heatmap')
<|EOT|>
